• DreamButt@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Ngl that’s like baby levels of nasty code. The real nasty shit is the stuff with pointless abstractions and call chains that make you question your sanity. Stuff that looks like it’s only purpose was to burn the clock and show off a niche language feature. Or worse than that even is when the project you inherit has decade old dependencies that have all been forked and patched by the old team

    If all I had to worry about was organization and naming I’d be over the moon

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Git commits with message saying “pushing changes” and there are over 50 files with unrelated code in it.

        • pinball_wizard@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          “Fix for critical issue.”

          Followed by an equally large set of files in a commit with just the message:

          “Fixup”

          And then the actual fix turns out to be mixed in with “Start sprint 57 - AutoConfiguration Refactor” which follows “Fixup”

      • Black616Angel@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        In the past I had commit messages with change numbers from a system, that was no longer in use.

        So the commit just said “CH-12345“. It is the kind of annoying, where you can’t even really be mad at someone.

  • Epzillon@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Jesus i worked at exactly this kind of project once. The only other dev was also very hostile and protective of this position. He did not want me there in the slightest. Took about 6 months before we cancelled the contract since this dude was just actively harrassing me in Teams DMs on the daily and he just ignored all my concerns regarding maintainability since “he could understand the code” and i was probably just “not experienced enough”.

    Don’t downplay what this does to your mental health. 5 years of workplaces like this and I’m now starting to see a therapist due to exhaustion disorder symptoms in my goddamn 20s. Take care our there!

  • AllNewTypeFace@leminal.space
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Even worse than there being no comments: the code is extensively commented, but its function has drifted from what the comments describe to the point where they are actively misleading.