The crappy software cycle
2023-04-08
What is good or bad code is very subjective. It’s easy to spot terrible code. For example, a function copied and pasted 20 times having nothing but a string constant modified in each copy is hopefully universally bad code. A 1000-line of code function should be classified the same way. However, once you get past the extremes of bad code, it becomes a matter of personal preference. While I may prefer to do things in some way and you may prefer to do them in another, this doesn’t mean one of them is better than the other.