• msage@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    I always get upset when people write unclear lines.

    I do a lot of code reviews, and it’s taking years to explain how to write code that makes sense. Some are better, some just write, or worse - copy, things that are ambiguous, or are made such by copying them with small changes.

    It’s very difficult to specify bullet-proof rules for good code. And after every step devs find more ways to fuck it up.

    • Gonzako@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      13 hours ago

      Yeah, what’s worked for me best is never doing straight up copy paste but try to walk through the script as I write it down because if I don’t understand it I can’t modify it.