Every industry is full of technical hills that people plant their flag on. What is yours?

  • dfyx@lemmy.helios42.de
    link
    fedilink
    English
    arrow-up
    60
    ·
    1 day ago

    For any non-trivial software project, spending time on code quality and a good architecture is worth the effort. Every hour I spend on that saves me two hours when I have to fix bugs or implement new features.

    Years ago I had to review code from a different team and it was an absolute mess. They (and our boss) defended it with “That way they can get it done faster. We can clean up after the initial release”. Guess what, that initial release took over three years instead of the planned six months.

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      14 hours ago

      In my team we manage 2 software components. 1 of them (A) has 2 devs, the other (B) approximately 5.

      Every time a feature needs to be added, B complains that it’s going to take forever, while A is done in a fraction of the time.

      The difference? B is a clusterfuck of a codebase that they have no time to refactor because they run low on time to implement the features.

      I work in A, but I’m not going to steal the credit, when I entered the company, A already had a much cleaner codebase. It’s not that me and my partner are 10x better than the ones working in B, they just have uglier code to deal with.

      I can’t comprehend why management doesn’t see the reason A needs half the devs to do the job faster.

      • 0x0@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        13 hours ago

        I can’t comprehend why management doesn’t see the reason

        Management cannot see beyond the next quarter, it’s a genetic precondition of the species.

      • 0x0@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        13 hours ago

        When agile works, it actually works pretty well.
        99% of the agile projects i’ve been in were waterfall in disguise (fragile for short).

      • dfyx@lemmy.helios42.de
        link
        fedilink
        English
        arrow-up
        16
        ·
        1 day ago

        What they did was far beyond “agile”. They didn’t care for naming conventions, documentation, not committing commented-out code, using existing solutions (both in-house and third-party) instead of reinventing the wheel…

        In that first review I had literally hundreds of comments that each on their own would be a reason to reject the pull request.

      • halfdane@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        19 hours ago

        Sounds like you had a bad experience with the failed attempt at establishing agile development methods - sorry to hear that.

        I just want to encourage you to give it another go with other developers that are more experienced with the methodology - in my company we’re working successfully that way for over a decade.

        [edited because the initial comment was unkind]