Writing Code Badly
Understand what makes a code bad and why write bad codes.
Good vs. bad code
As every developer knows, it seems a lot easier to write bad code than to engineer good code. We can define good code as being easy to understand and safe to change. Bad code is therefore the opposite of this, where it is very difficult to read the code and understand what problem it is supposed to be solving. We fear changing bad code—we know that we are likely to break something.
Author’s experience: coding nightmare
My own troubles with bad code go all the way back to my first program of note. This was a program written for a school competition, which aimed to assist realtors in helping their customers find the perfect house. Written on the 8-bit ...
Get hands-on with 1400+ tech skills courses.