DEV Community

Cover image for Hacks to Become a Better Developer
Maverick
Maverick

Posted on

Hacks to Become a Better Developer

Today in this post, let's discuss the major hacks that helps you to become a good developer.
A developer is nothing but a key individual behind all software applications. Generally, developers are well versed in at least one programming language and proficient in the art of structuring and developing software code for software or a program. Depending on job role and type of software developed, a developer may be classified as a software developer, application developer, mobile developer, Web developer, etc.

It's almost about three years when I opted my path as a software developer. Since I am pursuing my bachelors in CS field, I learned a lots about how to prioritize my time in which problem to solve first, how to solve the most intimidating software problems that I haven't encountered and the importance of communication between teammates and sometimes doing nothing at all even the deadline is near cuz I'm lazy AF. Here, I am not comparing myself to anyone but I am comparing myself to the programmer that I was 2 years ago and hence from my this much experience, I found some hacks that might help you.

1. Don't Ignore Warnings and Error Messages

I can't emphasize how important this is in becoming a better developer. So, here I am going to take an example of JavaScript Code because I'm learning this currently.

const obj = { a : 1 }; console.log(obj.b.a); //Uncaught TypeError: Cannot read property 'a' of undefined

The Error object in JavaScript has two properties stack and message.
The stack tells you where in your code the error occurred while the message tells you why the error occurred.

These two really helps you while solving the problem so try to understand them.

2. Read more code and corresponding Docs

Stack Overflow and Stack Exchange are some great place where you can find the answers to your and give answers to other's problem. However, sometime we may lack to find answers to our problem so it's better to check out their corresponding docs first which are really helpful and informative.
Reading other people's codes is a great thing because of the reason you have a chance to learn how other people think in what way or ways they solve a particular problem.

3. Try to discuss your problem with Superiors or Sen. Developers

Don't be afraid to ask them questions. They have more experience than you so they know a lot and be respectful to them.

4. Develop your Problem Solving Skills

You heard about Practice Makes Man Perfect but it makes Developer Perfect Too. Let's fact it solving a problem that you haven't encountered before and is hard unless you are super smart or something like that. However, the important part is that it makes you think harder and harder. It makes you think or analyze in what ways you could solve the problem. Divide a problem into multiple problems and make solutions for those multiple problems. Solve a problem like a Lego Set. Solve it piece by piece.

To develop this, you can solve problems on following sites:

5. Compete with Yourself

Try to record you progress weekly. Be a better programmer or developer today than you were yesterday.

  • Don't be afraid to solve next level problems.
  • Face and understand new errors.
  • Read Documentation more and more.
  • Last but not least, daily give at least 30 mins to for your practice.

LIKE IT ? JUST DROP A HEART AND FOLLOW ME FOR MORE.

Top comments (0)