Top Newbie Programming Mistakes

Learn from other people’s mistakes in programming now so you don’t make them

Dhananjay Trivedi
8 min readDec 13, 2020

Some mistakes which most newbies and even some experienced folks (like me) make while writing code and how you can avoid them.

0. Putting everything into one file

Source: Quora

This is the most common mistake you would see a lot of programmers making, writing all their code in one Class/file.

One of the major reasons behind this that we learn most of the coding through video tutorials where most of the authors intention is to explain you the concept/logic and not really around how to structure your code.

Hence, learn to separate out your code into various classes, and move those classes into different files/projects to give a better structure to your project.

1. Not / Manually formatting code

Source: https://imgur.com/user/sticky1

--

--