• tyler@programming.dev
    link
    fedilink
    arrow-up
    34
    ·
    5 months ago

    Agile was designed for contractors to deliver contract work. It’s a terrible design for any sort of sustainable business plan, hence “working software over comprehensive documentation”. That line right there causes the majority of outages you as a consumer encounter.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      37
      ·
      5 months ago

      The very first mistake most people make when reading the agile manifesto is that “a over b” means “don’t do b”.

      • prof@infosec.pub
        link
        fedilink
        arrow-up
        13
        ·
        5 months ago

        100% that.

        Especially that working software over comprehensive documentation part, which can be automated so easily if done right.

        There’s so much value in TDD and providing a way to do integration and automated UI tests early on in a project, yet none of the companies I’ve worked at made use of it.

        Also automated documentation tools like Swagger are almost criminally underutilised.

      • peg@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        The other mistake everyone makes is “agile = faster and cheaper” . This results in corner cutting and unreasonable deadlines.

    • Aurenkin@sh.itjust.works
      link
      fedilink
      arrow-up
      27
      ·
      5 months ago

      Would you rather have working software or a bunch of documentation? If your software is having outages then by definition it is not working. If documentation is the root cause of that then you should fix that by creating enough documentation to allow your software to continue to work per “working software over comprehensive documentation”. Maybe I’m missing something but I don’t see the contradiction here.

      • becausechemistry@lemm.ee
        link
        fedilink
        arrow-up
        43
        ·
        5 months ago
        1. Hack together a proof of concept
        2. Works well enough that management slaps a “done” sticker on it
        3. Pile of hacks becomes load bearing
        4. One or two dependencies change, the whole thing falls over
        5. Set evenings and weekends on fire to fix it
        6. Management brags about moving fast and breaking things, engineers quit and become cabbage farmers and woodworkers
        7. New graduates are hired, GOTO 1
        • GBU_28@lemm.ee
          link
          fedilink
          English
          arrow-up
          12
          ·
          edit-2
          5 months ago

          If 2 and 3 happen the game is up. Management killed it.

          That’s not agiles fault.

          • tyler@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            But that’s what agile sounds like to management. They don’t understand the “it’s held together by hopes and dreams” communication, because all they see is something that appears to work. So why would they invest anything else in it.

      • AwkwardLookMonkeyPuppet@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        5 months ago

        If documentation is the root cause of that then you should fix that by creating enough documentation to allow your software to continue to work

        Or create a better UI that doesn’t require so much documentation.

        • pivot_root@lemmy.world
          link
          fedilink
          arrow-up
          12
          ·
          edit-2
          5 months ago

          This assumes front-end development.

          From a (dev)ops perspective, if I had a vendor hand me a tarball instead of proper documentation, I’d look very far away from their company. It isn’t a matter of if shit goes wrong, but when. And when that shit goes wrong, having comprehensive documentation about the architecture and configuration is going to be a lot more useful than having to piece it together yourself in the middle of an outage.

      • Carighan Maconar@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        In long term development, sensible and updated documentation is far more important than the software working constantly. You will have downtimes. You will have times before the PoC is ready.

        But if your documentation sucks or is inexistent, you cannot fix any problems that arise and will commit a ton of debt the moment people change and knowledge leaves the company.

        • Aurenkin@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          Fair enough, at my job the code working consistently is absolutely the number one priority at all times but I can imagine that there are some places where this is not true. If working software isn’t imporant then I agree agile is probably not the right choice

          It’s worth pointing out though that having insufficient documentation is not a feature of agile. Sounds more like laziness or misplaced priorities to me as documentation is called out as being useful in the agile principles, just not as important as working software.

    • fruitycoder@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      5 months ago

      Gotta remember it was a response to water fall. Docs didn’t mean the man page or the wiki, they ment the spec sheet, PowerPoint’s, graphs, white papers, diagrams, aggreements and contracts, etc. Where you might go MOUNTHS making paperwork before you ran a single line of logic.

      Docs SHOULD be the last resort of an engineer if your UX just can’t be intuitive in some way or some problem domain just can’t be simple. You should first strive to make it work well.

      For example Lemmy, it just would work if you needed to read the Lemmy user guide first to post on Lemmy. That would indicate bad UX, but that was how it was back in the day.

          • Carighan Maconar@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            5 months ago

            Unified process, which, despite usually not being called that way and/or being codified in the way it is nowadays, is how virtually all early software companies did their development work post-punchcards (when you no longer had to get things done in a single step).

            It’s why the “agile is better because iterative hoooo!” is so laughable, because even though we didn’t yet call it iterative - as a distinction from pre-planned, since we thought in punchcards+mainframe vs after that - we did iterative work. Of course we did, software development is naturally iterative and Waterfall was the contrived contrasting example of how a non-iterative process would look.