• VeryVito@lemmy.ml
    link
    fedilink
    arrow-up
    34
    ·
    3 days ago

    I’ve written those same comments so many times over the years.

    We all pretend our code doesn’t stink, but show me a developer who’s never left a a turd in a codebase, and I’ll show you someone who’s never been under a deadline.

    • Elvith Ma'for@feddit.org
      link
      fedilink
      arrow-up
      36
      ·
      3 days ago
      ##############################
      # ALL YE WHO ENTER HERE BE WARNED  
      # THIS ISN'T MY FAULT, BUT $TOOL ONLY 
      # ALLOWS THIS DIRTY WORKAROUND
      #
      # DO NOT CHANGE OR REFACTOR
      # ANYTHING.
      # 
      # IF YOU NEED TO TOUCH THIS CODE
      # INCREMENT THIS COUNTER AS A
      # WARNING FOR THE NEXT POOR FUCK
      # 
      # TOTAL HOURS WASTED DEBUGGING
      # 15
      # TOTAL HOURS WASTED REFACTORING
      # 8
      # SUCCESSFUL CHANGES
      # 0
      ##############################
      
    • afk_strats@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 days ago

      Oh god this turned into a vent session

      I think back of what I left behind. And I feel bad.

      But then I feel better because I remember the reason I left was that we outgrew our processes and codebase and we desperately needed a restructure but i got no support in doing so.

      I bitched for years that it was a continuity risk and a performance nightmare. But no. “Deliver more features. Add more junk for use cases that brought us no business value.” Never consider governance or security. Never consider best practices. Just more.

      I knew eventually something bad would happen and I would be thrown under the bus. So I split. It was a good decision.

      But yeah. Seone inherited a lot turd code