this post was submitted on 05 Jun 2024
404 points (94.3% liked)

Programming

16195 readers
415 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 112 points 3 weeks ago* (last edited 3 weeks ago) (4 children)

Note that this is failure to deliver on time, not failure to deliver full stop.

I also think a lot of places claim to be agile, but don't follow or understand the principles at all. Another commenter here is the perfect example of that where they say the opposite of what's in the agile manifesto and claim that it's a representation of what it says.

Maybe that's a fundamental problem with agile. It's just a set of loose principles rather than a concrete methodology being pushed for by a company and it has therefore been bastardised by consulting companies and scrum masters claiming to teach the checklist of practices that will make your company agile. Such a checklist does not exist, it's just a set of ideas to keep in mind while you work out the detailed processes or lack thereof that work for you.

For anyone that wants to refresh their memory on the agile manifesto:

Individuals and interactions over processes and tools

Working software over comprehensive documentation

Customer collaboration over contract negotiation

Responding to change over following a plan

That is, while there is value in the items on the right, we value the items on the left more.

[–] [email protected] 23 points 3 weeks ago (3 children)

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.

[–] [email protected] 37 points 3 weeks ago (2 children)

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

[–] [email protected] 13 points 3 weeks 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.

load more comments (1 replies)
[–] [email protected] 19 points 3 weeks ago (8 children)

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.

[–] [email protected] 43 points 3 weeks ago (2 children)
  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
[–] [email protected] 9 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

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

That's not agiles fault.

load more comments (2 replies)
load more comments (1 replies)
load more comments (7 replies)
[–] [email protected] 8 points 3 weeks ago (3 children)

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.

load more comments (3 replies)
[–] [email protected] 10 points 3 weeks ago (9 children)

The primary problem is using agile all the time instead of when it is actually intended to be used: short term work that needs to be done quickly by a small team that are all on the same page already.

It sucks for any large group that requires a lot of coordination. Some parts of it are still helpful as part of a blended process, like more collaboration with the customer and responding to change, but those can easily derail a project if not everyone is on the same page through scope creep or losing sight of long term goals.

[–] [email protected] 11 points 3 weeks ago

The primary problem is using agile all the time instead of when it is actually intended to be used: short term work that needs to be done quickly by a small team that are all on the same page already.

I think you got it entirely backwards.

The whole point of Agile is being able to avoid the "big design up front" approach that kills so many projects, and instead go through multiple design and implementation rounds to adapt your work to the end goal based on what lessons you're picking up along the way.

The whole point is improving the ability to deliver within long term projects. Hence the need to iterate and to adapt. None of these issues pose a challenge in short term work.

load more comments (8 replies)
load more comments (2 replies)
[–] WhatAmLemmy 52 points 3 weeks ago* (last edited 3 weeks ago) (11 children)

One standout statistic was that projects with clear requirements documented before development started were 97 percent more likely to succeed. In comparison, one of the four pillars of the Agile Manifesto is "Working Software over Comprehensive Documentation."

Requirements ≠ Documentation. Any project with CLEAR requirements will be most likely to succeed. The hard part is the clear requirements, and not deviating.

One Agile developer criticized the daily stand-up element, describing it to The Register as "a feast of regurgitation."

The inability of management to conduct productive meetings is even more well-known than their inability to conduct a decent hiring process, and we all know how broken that is.

The study's sample and methodology are not linked so I suspect a huge bias, in that the projects succeeding sans-Agile have been successful without it long term, while the Agile projects chose Agile because they were unsuccessful pre-adoption — you don't adopt agile if you were already successfully delivering projects.

[–] [email protected] 25 points 3 weeks ago (1 children)

Yes, and daily standups are not a requirement of agile in any way. The whole point is people over process and adapting to change rather than following a plan so if standups aren't working you should stop doing them rather than following a rigid process!

[–] [email protected] 12 points 3 weeks ago (1 children)

💯

Agile is not an excuse to be stupid. If you need documentation then fucking do documentation. If your stand-ups suck then either change them or stop. You don't just do things "because agile".

load more comments (1 replies)
load more comments (10 replies)
[–] Thcdenton 51 points 3 weeks ago (2 children)

Agile went through the mgmt human centipede and now it's an unrecognizable broken system built on conflated ideas. I bet a good number of those projects are 'agilefall' anyways.

load more comments (2 replies)
[–] Anticorp 36 points 3 weeks ago (2 children)

According to the study, putting a specification in place before development begins can result in a 50 percent increase in success, and making sure the requirements are accurate to the real-world problem can lead to a 57 percent increase.

Is this not self-evident to most teams? Of course you will not reach your destination if you don't know where you're going.

[–] iamtherealwalrus 15 points 3 weeks ago (5 children)

On all the agile projects I've worked on, the teams have been very reluctant to make a specification in place before starting development. Often claiming that we can't know the requirements up-front, because we're agile.

[–] [email protected] 16 points 3 weeks ago

On all the agile projects I’ve worked on, the teams have been very reluctant to make a specification in place before starting development.

I don't think this is an Agile thing, at all. I mean, look at what Agile's main trait: multiple iterations with acceptance testing and product&design reviews. At each iteration there is planning. At each planning session you review/create tickets tracking goals and tasks. This makes it abundantly clear that Agile is based in your ability to plan for the long term but break/adapt progress into multiple short-term plans.

[–] pivot_root 11 points 3 weeks ago (1 children)

For your sake, I hope your employment was agile as well. Those jobs sound like they were dumpster fires waiting to happen.

[–] kippinitreal 9 points 3 weeks ago* (last edited 3 weeks ago)

Also seems like a shitty get-outta-jail-free card. With no design in place, timelines and acceptance criteria can't be enforced. "Of course we're done now, we just decided that we're done!"

load more comments (3 replies)
[–] [email protected] 11 points 3 weeks ago (1 children)

On the other hand you can just call wherever you end up the destination, and no one can prove you wrong. 100% success rate.

load more comments (1 replies)
[–] [email protected] 35 points 3 weeks ago (1 children)

It’s more about poor planning vs good planning. Of course a project with good planning is more likely to deliver in time.

It’s just to that poor planners tend to use “agile” as an excuse for their poor planning.

[–] paf0 10 points 3 weeks ago

In the days before Agile the Waterfall projects failed too. Though not necessarily for being late, they failed because they didn't deliver the thing that the business thought they were building, they delivered something else due to a misunderstanding. If nothing more, Agile gives more visibility into the process and allows for course correction.

[–] pixxelkick 30 points 3 weeks ago (1 children)

I've literally never actually seen a self proclaimed "agile" company at all get agile right.

If your developers are on teams that are tied to and own specific projects, that's not agile.

If you involve the clients in the scrum meeting, that's not agile.

If your devs aren't often opening PRs on a variety of different projects all over the place, you very likely aren't agile.

If your devs can't open up a PR in git as the way to perform devops, you aren't agile.

Instead you have most of the time devs rotting away on the sane project forever and everyone on "teams" siloed away from each other with very little criss talk, devops is maintained by like 1-2 ppl by hand, and tonnes of ppl all the time keep getting stuck on specific chunks of domains because "they worked on it so they knpw how it works"

Shortly after the dev burns out because no one can keep working on the same 1 thing endlessly and not slowly come to fucking losthe their job.

Everyone forgets the first core principle if an agile workplace and literally its namesake us devs gotta be allowed to free roam.

Let them take a break and go work on another project or chunk of the domain. Let them go tinker with another problem. Let them pop in to help another group out with something.

A really helpful metric, to be honest, of agile "health" at your company is monitor how many distinct repos devs are opening PRs into per year on average.

A healthy company should often see many devs contributing to numerous projects all over the company per year, not just sitting and slowly be coming welded to the hull of ThatOneProject.

[–] Waldowal 16 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

I don't disagree with you (on giving devs some creative freedom), but "Agile" as a process methodology isn't about developers working on multiple things to keep their interests up.

load more comments (3 replies)
[–] cygon 29 points 3 weeks ago* (last edited 3 weeks ago)

I liked agile as it was practiced in the "Extreme Programming" days.

  • Rather than attempt to design the perfect system from the get-go, you accept that software architecture is a living, moving target that needs to evolve as your understanding of the problem evolves.

  • Rather than stare down a mountain of ill-defined work, you have neat little user stories that can be completed in a few days at most and you just move around some Kanban cards instead of feeding a soul-sucking bureaucratic ticketing, time tracking and monitoring system.

  • Rather than sweat and enter crunch mode for deadlines, the project owners see how many user stories (or story points or perfect hours) the team completes per week and can use a velocity graph / burndown chart to estimate when all work will be completed.

.

But it's just a corporate buzzword now. "We're agile" often enough means "we have no plan, take no responsibility and expect the team to wing it somehow" or "we cargo cult a few agile ideas that feel good to management, like endless meetings with infinite course changes where everyone gives feel-good responses to the managers."

Having a goal, a specification, a release plan, a vision and someone who is responsible and approachable (the "project owner") are all part of the agile manifesto, not something it tries to do away with. I would be sad if agile faces the same fate as the waterfall model back in its time and even sadder if we return to the time-tracking-ticket-system-with-Gantt-chart hell as the default.

Maybe we need a new term or an "agility index" to separate the cases of "incompetent manager uses buzzword to cover up messy planning" from the cases of "project owner with a clearly defined goal creates a low-bureaucracy work environment for his team." :)

[–] [email protected] 28 points 3 weeks ago (1 children)

Right off the bat i read

One standout statistic was that projects with clear requirements documented before development started were 97 percent more likely to succeed. In comparison, one of the four pillars of the Agile Manifesto is "Working Software over Comprehensive Documentation."

You need clearly defined requirements to write a good user story. Documentation comes after.

However, while the Agile Manifesto might have its problems, those stem more from its implementation rather than the principles themselves. "We don't need a test team because we're Agile" is a cost-saving abdication of responsibility.

Precisely, once once have i worked in a company where agile was properly implemented and, yes, user stories were well documented and discussed before being developed. All others are just waterfall in disguise, or Fragile™.

However, while the Agile Manifesto might have its problems, those stem more from its implementation rather than the principles themselves. "We don't need a test team because we're Agile" is a cost-saving abdication of responsibility.

[–] mal3oon 9 points 3 weeks ago

You need clearly defined requirements to write a good user story.

This is the main reason the last company I worked for lacked in project delivery. They had just transitioned to Agile, and their whole teams lacked proper Agile experience and the training provided was very superficial. They barely put any time in refining the requirements and this trickled down to developers.

[–] 1800doctorb 24 points 3 weeks ago (1 children)

I’m curious what they mean by “failure.” I read the article but didn’t get a clear definition. Isn’t one of the expected outcomes of agile the ability to experiment rapidly and move on when the experiment fails?

So what if you fail 300% more? If you’re able to get 300% more ideas to the stage where you can test their viability, then it’s a success.

load more comments (1 replies)
[–] [email protected] 20 points 3 weeks ago (1 children)

I just hate how companies cling to agile like it's some kind of cult. Like a company I know gave all the employees very nice swag embroidered with a big "agile development" slogan on it like your development methodology is supposed to be a source of pride or something. Of course like most companies they don't really follow agile practice very much except where they can use it as an excuse to skimp on requirements and such.

[–] [email protected] 7 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Aa someone who has misspent a budget before - you're making it sound like a lot more people in the company care about the topic than what's happening in real life.

I organize some events in our office every now and then. For example, one of them is a sort of competition/race/quiz/whatever - completely optional, but I get about 75% of the office to join, which in my experience - that's huge, nobody joins any type of other events in such magnitude, usual rates are at 30-40%. The big bosses approve it because "morale" and "team building". The people like it because it's actually fun. So I get a budget to spend on this event, and we use it to buy "prizes" for literally everyone participating. Which means they're shitty prizes, but hey, it's not about winning first place, it's about making some jokes at the bosses' expense, on company time.

The way the process works is: all my bosses already know how this money is spent, and they approve. But because I need the money, it has to go through finance. And they involve marketing/PR guys. And these guys insist on having the fucking logo on everything. At the end of the day everyone is going home with several items (backpack, external battery, pen, umbrella, Swiss army knife etc) with the company logo on them, which is goddamn ridiculous. It's actually one of the reasons I always refuse to receive items, even if the budget includes the organizers - because I really hate the branding aspect.

But all that aside - you see the aftermath of this event and you'll draw the conclusion that we just spent the day in a corporate culture workshop, when in fact we were answering silly questions and getting imaginary points the entire day, but there's ONE guy in ONE department who can't let things slide. So... Idk man. Take it with a grain of salt next time. The agile dudes probably did it to get away from other things for a few hours, and they got the budget to also give something back to the coworkers. But not everyone really cares about agile, they're just going through the motions.

load more comments (2 replies)
[–] [email protected] 19 points 3 weeks ago

With 65 percent of projects adopting Agile practices failing to be delivered on time

They're not "failing to deliver", they're being Agile in disappointing everyone involved!

Projects where engineers felt they had the freedom to discuss and address problems were 87 percent more likely to succeed.

Which shouldn't surprise anyone, but I know some managers, directors and users loathe the idea of the people who'll do the actual job having any say other than "yes, sir".

In highlighting the need to understand the requirements before development begins, the research charts a path between Agile purists and Waterfall advocates.

Good documentation is critical and process-agnostic. If people can read and understand it, it's good. It's something that can be used as a shield and weapon against users/higher ups who want too much, it can create a trail of responsibility.

[–] [email protected] 19 points 3 weeks ago

Fail fast baybee

[–] [email protected] 18 points 3 weeks ago (1 children)

Agile is LinkedIn religious bollocks. Might as well just pray. Bunch of corporate nonsense.

BUt YoUrE NoT DoINg it RIghT!!1!

Should be reciting the creed in Latin, presumably.

[–] barsquid 13 points 3 weeks ago (6 children)

Every time I see a discussion of agile, there are plenty of comments about how mentally exhausting and useless/wasteful the meetings are. And the defenders can only say, "you're doing meetings wrong!" Maybe if everyone is doing it wrong the process itself is fundamentally flawed and lends itself to misinterpretation.

[–] Semi_Hemi_Demigod 23 points 3 weeks ago (1 children)

I've been in agile projects that worked really well and didn't have soul-sucking, time-wasting meetings. It can be done well, it just isn't most of the time.

[–] Dultas 9 points 3 weeks ago (3 children)

Same, I've been on agile projects with quick efficient meetings most of the time. But I'm a project now with a 45 minute standup every morning for like 15 people. The lead just lets people ramble on and try to solve issues in standup. Backlog grooming and sprint plannings get equally sidetracked as well.

load more comments (3 replies)
[–] [email protected] 10 points 3 weeks ago (3 children)

Well, you're supposed to refer to them as "rituals". "Meetings" are so waterfall. No wonder it isn't working.

load more comments (3 replies)
load more comments (4 replies)
[–] marcos 16 points 3 weeks ago (2 children)

Hum... That implies that at least 30% of some subclass of projects are successful.

load more comments (2 replies)
[–] filister 15 points 3 weeks ago (1 children)

Not to mention that this Agile methodology is burning out people pretty fast. It puts a lot of pressure on developers.

[–] [email protected] 27 points 3 weeks ago (8 children)

I've been working with Agile for years and I worked with people who burned out, but there was not even a single case where Agile contributed to burning out, directly or indirectly. In fact, Agile contributed to unload pressure off developers and prevent people from overworking and burning out.

The main factors in burning out we're always time ranges from the enforcement of unrealistic schedules and poor managerial/team culture. It's not Agile's fault that your manager wants a feature out in half the time while looming dismissals over your head.

It's not Agile's fault that stack ranking developers results in hostile team environments where team members don't help out people and even go as far as putting roadblocks elsewhere so that they aren't the ones in the critical path. Agile explicitly provides the tools to make each one of these burnout-inducing scenarios as non-issues.

[–] [email protected] 8 points 3 weeks ago (2 children)

It’s not Agile’s fault

that managers want to stay in control of everything, and they decide whether they do it or not.

It's like real communism: it's perfect but it's not possible to implement in our universe.

load more comments (2 replies)
load more comments (7 replies)
[–] Theharpyeagle 14 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

Honestly a little confused by the hatred of agile. As anything that is heavily maligned or exalted in tech, it's a tool that may or may not work for your team and project. Personally I like agile, or at least the version of it that I've been exposed to. No days or weeks of design meetings, just "hey we want this feature" and it's in an item and ready to go. I also find effort points to be one of the more fair ways to gauge dev performance.

Projects where engineers felt they had the freedom to discuss and address problems were 87 percent more likely to succeed.

I'm not really sure how this relates to agile. A good team listens to the concerns of its members regardless of what strategy they use.

A neverending stream of patches indicates that quality might not be what it once was, and code turning up in an unfinished or ill-considered state have all been attributed to Agile practices.

Again, not sure how shipping with bugs is an agile issue. My understanding of "fail fast" is "try out individual features to quickly see if they work instead of including them in a large update", not "release features as fast as possible even if they're poorly tested and full of bugs." Our team got itself into a "quality crisis" while using agile, but we got back out of it with the same system. It was way more about improving QA practices than the strategy itself.

The article kinda hand waves the fact that the study was not only commissioned by Engprax, but published by the author of the book "Impact Engineering," conveniently available on Engprax's site. Not to say this necessarily invalidates the study, or that agile hasn't had its fair share of cash grabs, but it makes me doubt the objectivity of the research. Granted, Ali seems like he's no hack when it comes to engineering.

load more comments (3 replies)
load more comments
view more: next ›