3 ms·
It’s simple really. Almost every software engineer strives to write code in a clear and concise manner. However, usually we produce a pile of spaghetti. Why is
by hnfong 2y ago
It’s simple really.
Almost every software engineer strives to write code in a clear and concise manner. However, usually we produce a pile of spaghetti. Why is that? We all know why.
Now, take those reasons and imagine you’re in this situation:
You’re working on a codebase that has been around for 200+ years, you don’t fully understand the code you are editing, the requirements are somewhat vague (“i know it when i see it”), people calling the shots are demanding that you make ad-hoc exemptions for them for political reasons, the coding style guidelines haven’t been updated in 50 years, and worst of all you cant compile the code and test whether it works, so you dry-run the scenarios in your head and hope you don’t miss any weird test cases.