XII. No focus on clean code
That’s why ditrydozen.dev is here
You have finally reached chapter 12th of the ditrydozen.dev list of the
common code mistakes programmers tend to make over and over again.
All of the mistakes described on this website stem from
one and only one underlying cause, which is:
No focus on clean code
If programmers don’t understand the potential
bad coding standards then we’ll just keep seeing repeats of the same mistakes.
Of course, you always need to consider the
context under which code was written. Perhaps some
bad patterns were introduced with an intention to
pay them off at later stage - we also know this as Technical Debt.
Furthermore, some of the
ditrydozen.dev mistakes are more
severe than others. Likewise, certain
code smells appear in code more often than others. At the end of the day, it’s a fine balance between
speed of delivery vs code quality.
best programmersin the field will constantly
improvetheir coding standards and patterns, which in turn will manifest itself in
code quality. With time, their code quality and experience will improve and that in turn will feed into efficiency and
speed of delivery.
Finally, clean and structured code is just one thing to bear in mind.
Smelly code has the bad tendency of exposing your application to Cyberattacks which can potentially damage your career progression as well as your organisation. OWASP is a non-profit foundation which works on improving the security of software. I strongly suggest to explore it in addition to the ditrydozen.dev resources.
Stay focused and
abreast of new technologies, keep
learning and improving your own standards, maybe even contribute to these with your own ideas and also
share your knowledge with others.
Understand the implications your code can bring and above all
focus on clean code,