DEV Community

Cover image for 8 mistakes you must never make as a programmer
💡Piyush Kesarwani
💡Piyush Kesarwani

Posted on

8 mistakes you must never make as a programmer

As a programmer, it's essential to be aware of common mistakes that can lead to poor code quality, decreased productivity, and missed deadlines. In this article, we'll discuss eight mistakes that you must never do as a programmer to ensure that you're writing high-quality code and working efficiently.

Not commenting on your code

One of the most common mistakes that programmers make is failing to comment on their code. Comments are a vital tool for making your code readable and understandable for others, and for yourself in the future. Without comments, it's often difficult to understand the purpose and function of a particular piece of code, leading to confusion and wasted time.

Not testing your code

Another mistake that programmers make is failing to test their code. Testing is crucial for identifying bugs and ensuring that your code is working as expected. Without testing, you're leaving your code open to bugs and errors, which can lead to wasted time and missed deadlines.

Not using version control

Version control is an essential tool for managing and tracking changes to your code. Without version control, it's difficult to keep track of changes, collaborate with others, and roll back to a previous version if something goes wrong. Not using version control can lead to wasted time, missed deadlines, and the loss of important work.

Not paying attention to performance

As a programmer, it's essential to pay attention to performance. Poorly optimized code can lead to slow performance, increased memory usage, and wasted resources. Not paying attention to performance can lead to wasted time and missed deadlines.

Not using proper data structures

Choosing the right data structure for your code is crucial for performance and readability. Not using the proper data structure can lead to poor performance and increased complexity.

Not keeping up to date with new technologies

As a programmer, it's essential to keep up to date with new technologies and programming languages. Failing to do so can lead to a lack of knowledge and skills, which can make it difficult to write efficient and maintainable code.

Not following best practices

As a programmer, it's essential to follow best practices for writing code. Failing to do so can lead to poor code quality, increased complexity, and wasted time.

Not asking for help

As a programmer, it's essential to know when to ask for help. Failing to ask for help when needed can lead to wasted time, missed deadlines, and poor code quality.

In conclusion, it's important to be aware of these common mistakes to ensure that you're writing high-quality code and working efficiently. By avoiding these mistakes, you'll be able to write better code, work more efficiently, and meet deadlines more easily. Remember, it's always better to avoid mistakes than to fix them later.


That's a wrap. Thanks for reading.

Follow me for weekly new tidbits on the domain of tech. 

Need a Top Rated UI/UX designer and Front-End Development Freelancer to chop away your development woes? Contact me on Upwork and Freelancer 

Want to see what I am working on? Check out my Personal Website, Twitter, and GitHub. 

Want to connect? Reach out to me on LinkedIn.

Follow me on Instagram.

Top comments (1)

Collapse
 
tracygjg profile image
Tracy Gilmore • Edited

Hi Piyush,
100% agree with your last point on asking for help. On-one knows it all, especially from day one.
The other points are also fair but I particularly agree with the last.
Regards, Tracy