• baines@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      5 days ago

      in my case it is a massive legacy codebase that I don’t actually control

      i get very sporadic deliveries of it and I’ve version controlled them into a jank progression

      the original is in clearcase with now git on top of it and my version control is in svn

      there are very shitty unresolvable reasons for all of this

      but this last update was especially bad as one of their new coders is super fucking OCD and rejustifying headers and footers and fucking comments, so whitespace shit in files he is not editing code in otherwise, so that is like 300-500 files not lines

      i want to break a knee cap

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      Linters won’t necessarily help. You also need a code formatter that screams at you if you intent badly.

    • RamblingPanda@lemmynsfw.com
      link
      fedilink
      arrow-up
      4
      ·
      4 days ago

      I’m relatively new in my company and I’ve been hired to structurize and modernize the development. Project #1 I’m on, I’ve introduced bleeding edge things like pipelines with building, testing, etc., I’ve introduced renovate bot to keep us up to date, and I’ll introduce linting next.

      They will probably kill me, but no way I’ll let them have > 2000 lines of code in one file.