News for hackers. Stuff that matters.
Re:Just Build It by kingforaday on Monday September 04, 2023 @06:09PM (#37385610)
"One group is instructed to submit 100 photos over the quarter and the other group is instructed to submit one perfect photo.

The group that is instructed to submit 100 photos gets better because they start right away and start taking photos and learn about composition. While the other group doesn't get better because they hem and haw over what a perfect photo is."

If true, I would want a refund if placed in the latter group.

Re:Just Build It by brailsafe on Monday September 04, 2023 @06:25PM (#37385708)
Ironically, this is also the downfall of most "agile" practicing dev teams. They've adopted scrum, they've adopted all the overhead of Jira and 2 week sprints that they never rethink, but nothing gets shipped unless it's perfect, and so nothing gets iterated on, nothing progresses, no evaluation of the work ever actually feeds back into a positive reinforcement cycle, and so you just get waterfall with much more agony.

In my last company, we trying to ship refactors and improvements at the same time, and it inevitably broke down horribly when we'd discover some requirement that had originally never been documented or built in some component. So the scope for shipping would change from a one-to-one refactor with incremental iteration in subsequent sprints, to many cycles of QA and fixes before even minor design improvements could be shipped.

It's characteristic of every dev team I've been on that's tried to use off-the-shelf agile practices, because there's no risk tolerance at any level higher than IC. Everyone's afraid of how they'll appear, and nobody trusts anyone lower than them on the org-chart.

Re:Just Build It by teeray on Monday September 04, 2023 @06:47PM (#37385896)
> nothing gets shipped unless it's perfect, and so nothing gets iterated on…

That’s why a solid, painless, quick rollback story is absolutely vital but underrated for agility. It’s not a big deal if you ship a regression but can roll back quickly. On the other hand, if every release is playing for keeps, you’ll slow down to a glacial pace to try to ship perfection. But perfection is impossible no matter how much process you put in front of it—you will ship a bug some day. So pretending like you can’t ship bugs because you have initial design reviews, multiple code reviews, sign-offs from multiple stakeholders, CI that takes 3 days to run, etc. just makes the day you do ship a big that much more painful.

Re:Just Build It by cogman10 on Monday September 04, 2023 @07:20PM (#37386143)
The issue is that big messes can be made that are hard to clean up in one small release.

For example, one of our teams had the requirement "Allow end users to programmatically configure widget xyz". Now, widget xyz has a janky design and a table with 50 columns associated with it.

So what did this team do? They took that internal table definition, made a CRUD api that exposes the whole thing, and moved on.

Tell me, how do you fix something like that like that? They followed the agile route, got an MVP out with hardly any effort on their part. But now we have this API that shows off 20 years of legacy that our end users now depend on.

And to be clear, of those 50 fields, maybe 3 of them mattered to the end user and the rest could have been inferred. But doing that inference is a lot more work as it takes understanding the domain.

Re:Just Build It by brailsafe on Monday September 04, 2023 @07:42PM (#37386271)
Well I suppose that's the difference between thoughtful systems and process and zero systems and process, and also poor problem definition. There is some nuance between "ship literally anything to end users" and "ship an improvement" or something else to end users, or to a beta that roles out to end users and isolates the possible regression to a smaller surface area. It also seems like those developers might either suck (possible, but uncharitable), or that the system rewards the wrong things.

But much of the time, better or worse laters of bureaucracy in the system come about from these mistakes which will eventually happen, so it's a very valid point, and I do think a lot of the time it's companies building up scar tissue and not being capable of getting the necessary surgery to fix it.

Re:Just Build It by cogman10 on Monday September 04, 2023 @08:59PM (#37386706)
> It also seems like those developers might either suck (possible, but uncharitable), or that the system rewards the wrong things.

Yes, they do, but also it's an entire department problem and one that the upper bureaucracy doesn't see as an issue. I'm really not surprised this was the route that particular department took. Office politics are fun, though, so sucking at your job often doesn't mean anything if your managers are all buddies.

But before the creation/evolution of that department we already had these sorts of problems. This may just be a "just my company" problem but I don't think it is. After all, from what I know of business management, this sort of "extra staff and rework is waste" mentality seems really pervasive.

Re:Just Build It by brailsafe on Tuesday September 05, 2023 @01:06PM (#37394741)
Yep, that all sounds quite familiar, definitely not just your company, it's characteristic of trying to monkey-patch whatever management can point a finger at, because that's what they're rewarded for, and that's what their manager is rewarded for.

No word of a lie, I ran into a colleague from the first company I saw this problem at (and was fired from) years later when I happened to revisit a restaurant I liked in the area. I asked him if he still worked there, and he laughed. Said that they eventually fired the entire department and he stayed on just as a consultant for a bit. Which is odd, because although I was a naive early-twenties kid at the time, I could tell everyone else in that department was quite good at their jobs.

Re:Just Build It by lmm on Monday September 04, 2023 @07:57PM (#37386357)
> Tell me, how do you fix something like that like that?

A little at a time; continuous refactoring/improvement is a vital pillar of agile. You've got 50 redundant fields that can be inferred but you have to understand the domain to do that? Well, understand the domain a bit, and infer one of them. Then next time you come back to that part of the code do another one.

(I mean, if the table was like that already then it sounds like the API didn't introduce a new problem, it just surfaced a problem you already had)

Re:Just Build It by cogman10 on Monday September 04, 2023 @08:53PM (#37386668)
> continuous refactoring/improvement is a vital pillar of agile.

The problem with this pillar is it's often viewed as nothing more than waste by business. Try arguing with a PM "Hey, we need to actually take a bit of time to redo XYZ because it's really janky" and they'll come back with "Yes, but client PDQ is ready to give us money for this shiny new feature! We don't have time to waste redoing XYZ because it's not currently causing us any problems".

The table going from 1, 2, 10, 20, 50 columns never actually hurt the system. It got nasty looking but ultimately not something you could sell to a manager "Hey, we should address this". So, by the time "Hey, let's expose this" rolled around the institutional will to want to correct anything had long since past.

It's really easy to sell redoing something if it's actively causing harm to the systems, but stuff that's just a bit janky has next to 0 priority (often even negative priority because fixing it might break something).

Re:Just Build It by lmm on Monday September 04, 2023 @09:12PM (#37386783)
There's a balance to be had - and frankly most code has a finite lifetime and developers often put too much priority on making it cleaner than it needs to be. The technical debt metaphor is a good one; a PM should understand that when code isn't clean it increases the cost of making changes to that code, and sometimes that's a price you want to pay and sometimes you don't.
Re:Just Build It by wmorgan on Monday September 04, 2023 @10:17PM (#37387132)
Api longa, sprinta brevis
Re:Just Build It by lelanthran on Tuesday September 05, 2023 @01:54AM (#37388311)
> For example, one of our teams had the requirement "Allow end users to programmatically configure widget xyz". Now, widget xyz has a janky design and a table with 50 columns associated with it.

> So what did this team do? They took that internal table definition, made a CRUD api that exposes the whole thing, and moved on.

> Tell me, how do you fix something like that like that?

That's genius! You can now use your metrics from that API to determine how the users are actually using it to provide more value.

Are they hooking into something they shouldn't? Well then they are missing a feature and that is an opportunity for you to build that feature for them.

Re:Just Build It by JackFr on Tuesday September 05, 2023 @09:29AM (#37391381)
> "Allow end users to programmatically configure widget xyz"

That's an extremely poorly defined requirement, and I would say that's the ultimate source of the issue. Your team took that and made a crud api. Another team might have written a YAML based DSL. Another team might have created an even more complex scheme.

A BA/PM should have pushed back on that and gotten much, much better specificity as to what the users needed to do.

> And to be clear, of those 50 fields, maybe 3 of them mattered to the end user and the rest could have been inferred. But doing that inference is a lot more work as it takes understanding the domain.

Exactly -- except the part about "doing that inference is a lot more work". Compared to recovering from the wrong path the software has taken?

Re:Just Build It by paulddraper on Monday September 04, 2023 @07:14PM (#37386094)
> nothing gets shipped unless it's perfect, and so nothing gets iterated on

Wow that is literally the exact opposite of agile.

Like.... There is no worse descriptor for this than "agile"

Re:Just Build It by rlayton2 on Monday September 04, 2023 @07:44PM (#37386286)
I might have read it wrong, but I read OP as saying something like "people want to do agile, but wait until the project is perfect, thereby negating the whole point".
Re:Just Build It by brailsafe on Monday September 04, 2023 @08:54PM (#37386675)
Not so much the overall project, but definitely the smaller components within an ongoing project. Probably should have specified that because I'm almost always working on an established thing, rather than a greenfield thing.
Re:Just Build It by siva7 on Monday September 04, 2023 @09:23PM (#37386840)
I’ve never seen that behaviour in the wild and i’ve seen over hundred teams adopting agile.
Re:Just Build It by cookiesboxcar on Tuesday September 05, 2023 @09:27AM (#37391349)
I see it everywhere... not with "hundreds" of teams but enough teams over a 12 year career in consulting to make this not anecdotal.
Re:Just Build It by marcosdumay on Tuesday September 05, 2023 @11:45AM (#37393319)
Like the sibling comment here, I've seen this plenty of times too. Not on "most projects" or "most places", but certainly on most spectacular failures I've witnessed.
Re:Just Build It by brailsafe on Tuesday September 05, 2023 @12:59PM (#37394629)
I don't think the one who's seen "hundreds" of examples could have done so without being an "Agile coach" or something, maybe a temporary contractor at most, either way getting a pretty arms-length look at how a team is operating or is starting to adopt a new procedure.
Re:Just Build It by indeedmug on Monday September 04, 2023 @09:35PM (#37386908)
Your team's process should be flexible enough where you don't have a name for it.
Re:Just Build It by dgb23 on Tuesday September 05, 2023 @07:02AM (#37390176)
When the users/buyers of software don't actually want (sometimes for legal reasons!) agile development, then shoehorning them in results in what you describe?
Re:Just Build It by dalbasal on Tuesday September 05, 2023 @07:13AM (#37390222)
I think "The Problem with Agile," especially at this point, is mostly upstream of any implementation details.

What kind of an organisation is going to adopt a packaged management method like that? Cargo cult adoption of practices, language, job titles, consultants, tools and formal certifications... The company that invented agile would never have "gone agile" in 2023.

I'm not saying that agile can't work. I'm saying that an insurance company "adopting agile" is an insurance company buying a trendy management method for their engineers. It matters not if the method is called agile or a 1972 booklet from the USSR. Practices, practiced blindly are rituals.

Re:Just Build It by edgarvaldes on Monday September 04, 2023 @07:11PM (#37386078)
Is this a real variation of the myth of the ceramics teacher and the two groups? It's the same method.
Re:Just Build It by maxverse on Monday September 04, 2023 @08:22PM (#37386494)
Yes, it sounds like the same idea to me.
Re:Just Build It by dorkwood on Tuesday September 05, 2023 @03:29AM (#37388899)
The photography version is the original. It was retold as ceramics in the book 'Art & Fear', because the authors (who were photographers themselves) were trying to appeal to a broader range of artists.

https://austinkleon.com/2020/12/10/quantity-leads-to-quality...

Re:Just Build It by Fnoord on Monday September 04, 2023 @07:47PM (#37386301)
Faith No More fan?
Re:Just Build It by quickthrower2 on Monday September 04, 2023 @10:42PM (#37387268)
That old chestnut? If told that and I was in the "other group" I would pipe up and say "only one way to do this, submit 100 photos to me ASAP and I will pick the best one.
Re:Just Build It by raincole on Monday September 04, 2023 @11:46PM (#37387628)
> If true, I would want a refund if placed in the latter group.

It (allegedly) happened on a university class.

*: https://sebastianhetman.com/why-quantity-matters/

Re:Just Build It by zerocrates on Tuesday September 05, 2023 @01:51AM (#37388293)
Apparently the "ceramics class" story that you see all over the place after it appeared in the book "Art and Fear" was a modification of this real story, retold in a closer-to-original form in "Atomic Habits."

The Art and Fear authors credit Uelsmann himself as the source of the story; whether I believe he really did it with actual students for a whole semester, on the other hand...

It's a little bit of a "just so" story in any form, though the lesson of repetition is fine regardless of its literal truth.

Re:Just Build It by dorkwood on Tuesday September 05, 2023 @01:58AM (#37388335)
If one group submitted 100 photos and the other group submitted only one, I’d argue that the first group was simply given 99 more chances to impress their professor.