• ultimaluz@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    16 hours ago

    agree, and for me the worst ones are the quiet inconsistencies, not the big rewrites. on my side project, a small browser game, the client handled server error codes separately in 4 different actions, so when I added a new code on the server one of them just read it as “no charges left” and showed 0, no error anywhere. nobody calls that a blunder when they write it, it’s just 4 slightly different ifs, but now every new feature has to remember all of them. in review it’s the same, clever code is easy to spot, a second way of doing the same thing usually isn’t

  • Windex007@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    This has been the bread and butter of my entire career, and I’ve never read anything that so clearly articulated the concept. “Blunders” is a fantastic metaphor.

    The hardest part is never the “hard part”, it’s day in and day out remembering to not shoot yourself in the fucking face.