Chapter 53. Is Writing Bad Code Immoral for Developers?
In this chapter I'm going to discuss a slightly odd question: is writing bad code immoral? This leads to the concept of the importance of developing well-written code.
This may seem like a weird question to ask because the mindset of most developers is that code projects are neither moral or immoral, they're simply programming files that perform various functionalities. I would like to think that most developers take pride in their work and therefore want to write code that adheres to best practices. However, given schedule and budget constraints many projects devolve, with the top goal becoming to simply work and being completed as soon as humanly possible.
However, this mindset can lead to issues such as: missing edge cases for features and poorly organized codebases that are difficult to maintain. Regarding the question of is writing bad code immoral?, I heard a great story from one of my Computer Science professors...