DEV Community

Cover image for 1 Common Mistake Novice Developers Make
Karl Esi
Karl Esi

Posted on

1 Common Mistake Novice Developers Make

The common mistake novice developers make is you are thinking only in terms of making it work.

It is only about making what you are coding work. Get it working and move on.

And that is actually OK at first. Obviously, if you can't get your code to work, then you really have not made any progress with your task.

But, overtime, you have to learn to move past that.

And in actuality, it all starts before you even write code.

When you are assigned a task, instead of just firing up your text editor and coding and making it happen, you need to make a number of observations first.

  • Get a notebook
  • Lay out what you are building
  • What your requirements are

Which often leads you to gather more information that you didn't know that is important, and ultimately having a clear understanding of what it is exactly that you are doing.

And once you have this mental process, of what you are doing, think about how it fits in the current codebase.

Like what constants, or existing code you can tie your code into to keep from reinventing things.

And then consider

  • The readability of your code
  • The maintainability of your code
  • And the scalability of your code

It is more than just making it work.

Happy Coding!
Karl

P.S. Want to code better than most of the JavaScript developers that have ever lived? The Complete JavaScript eBook(Zero to Mastery). It's 15% off if you buy it right now. Coupon Code: UY6COY8(Expires at 11:59PST). GET IT NOW.

Top comments (0)