"When [Gordon Hoare] first developed quicksort, he thought it was too simple to publish." Beautiful Code p21. Ah, hindsight!
Related Posts
It's really satisfying to use a profiler for the first time on a project. I always find a big performance win with only a small code change.
It's never the code that I expected to be slow, however!
Over a sufficiently long time horizon, all code you write is legacy code.
I'm intrigued to see that Google has quantified that new code is generally buggier and less secure than code that has existed in your codebase for longer: https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html