by beaconstudios · 7y ago · 0 comments
// // Dear maintainer: //
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy
// total_hours_wasted_here = 42
Edit: to improve legibility
// // Dear maintainer: //
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy
// total_hours_wasted_here = 42
Note that on narrow windows or mobile screens this doesn't wrap and needs to scroll sideways for long lines (though these are wrapped to 60 characters), which is annoyingThere was a window in the beginning when she still had the kid's trust and could have dug deeper, but if/once you are not a trusted party, understanding the reason because exponentially difficult.
To your point, it applies to everyone. I remember social courses at the uni about how some classes of workers would obfuscate key parts of their jobs to protect themselves from having client/managers get their nose into it.
In that sense getting to understand the core reason might often be the biggest chalenge. A bit like how finding why a bug occurs is more than half of the solution already.