Random Link ¯\_(ツ)_/¯ | ||
Jun 6, 2022 | » | Perspectives on Software Engineering
2 min; updated Nov 16, 2024
On the Clean Code Movement Good enough is good enough. The architectural choices and bugs in the implementation tend to be more impactful, so focus more on those. Be conservative in what you consider technical debt. It should be something that slows down current/future changes, and not code that doesn’t “feel nice”. A code base that is free if technical debt is likely over-emphasizing polish over delivery. Abstractions and indirections in the name of future-proofing tend to be wrong especially when treading new paths, where you can’t reliably predict the future.... |
Jun 11, 2022 | » | Testing Your Code
8 min; updated Nov 19, 2022
Why Write Tests Helps catch bugs in the code, and in the programmer’s mental model of what the code does. The later a bug is caught in the development cycle, the more expensive it is to fix it. A good test today is a future debugging session saved. The test is the first client of your code. It uncovers sub-optimal design choices, tight couplings, missed cases, etc.... |