• xep@fedia.io
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    Sometimes it feels like most of my job nowadays is deleting code now.

    • meteokr@community.adiquaints.moe
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      To me, there is no greater high than seeing big negative numbers on a commit. Deleting stuff is the most satisfying experience in programming. A commit with +10, -142 is mint.

    • Dark Arc@social.packetloss.gg
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      Be careful with that one. I’m not sure about your experience level, but a mistake newer (and some more experienced) programmers often make is taking DRY too far.

      It’s easy to “dry” something up to the point where it’s spaghetti that’s overly clever about how it reduces lines of code resulting in some crazy inheritance hierarchy even you are afraid to change.