Загрузка видео...

Не удалось загрузить видео

На главную

Morning Bathrobe Rant: AI slop.

55,940 просмотров • 6 месяцев назад •via X (Twitter)

Комментарии: 44

Фото профиля Oleg Kislitsyn
Oleg Kislitsyn6 месяцев назад

Spending 300% of the effort to prevent AI from writing slop, instead of just writing the code yourself at 100%

Фото профиля Uncle Bob Martin
Uncle Bob Martin6 месяцев назад

You are badly misjudging the comparative effort.

Фото профиля Keys
Keys6 месяцев назад

I’ve started doing this for the first time in my life because I don’t want a guy with a stare that angry to be mad at me.

Фото профиля Jason - looking for work
Jason - looking for work6 месяцев назад

Core piece of C.R.A.P. here - a quick way to ensure that unit tests are effective and you're not wasting time by applying 80%+ coverage to everything.

Фото профиля Will Sidebottom
Will Sidebottom6 месяцев назад

I cannot discern a fiscally rational reason to pursue this path. In essence, the AI must write the code, the tests, the performance scripts and every other harness under the sun just to avoid slop. The costs for this are becoming astronomical. I think I’d rather just write the software myself.

Фото профиля Uncle Bob Martin
Uncle Bob Martin6 месяцев назад

You do you. I can go a lot faster, using an AI, even with all the tools I employ.

Фото профиля Will Sidebottom
Will Sidebottom6 месяцев назад

My question isn’t about speed. It’s about rising costs. How do you honestly expect junior engineers to fork over a king’s ransom to do what you’re prescribing?

Фото профиля Uncle Bob Martin
Uncle Bob Martin6 месяцев назад

So far all these tools haven’t cost me any more than $200 a month. If that multiplies my productivity by a factor of two, then that’s a pretty big win. I would expect my employer to cover a meager $200 a month.

Фото профиля Leon Grapenthin
Leon Grapenthin6 месяцев назад

@wmksidebottom Certainly you burnt several thousand USD in compute

Фото профиля Will Sidebottom
Will Sidebottom6 месяцев назад

@unclebobmartin Exactly. What’s 200 a month today will become a second mortgage tomorrow.

Фото профиля Kalmia
Kalmia6 месяцев назад

@unclebobmartin you've got this idea you talk about where ASM gave us a 10x productivity boost over machine code, C gave a 3x boost over ASM, Java a 1.3x boost over C, and so on. What's your assessment of the boost factor from AI used right, as compared to the tools of 2022?

Фото профиля Chanel A.H. MS/PhD(c)
Chanel A.H. MS/PhD(c)6 месяцев назад

EXACTLY! People literally are allowing AI to lead the way when THEY are the ones who are supposed to be using the AI as a tool, meaning the user is the leader! You literally have to tell it what to do and tell it not to write BS. Correct it when it goes wrong. I love your page!

Фото профиля Bren
Bren6 месяцев назад

writing 1000 lines of harsh instructions in markdown files isn't enough?

Фото профиля Junaid Sakib
Junaid Sakib6 месяцев назад

That's what software engineering is morphing into now, I think more than ever, we need good engineers!

Фото профиля allOS.dev - Creating Cross-Platform Apps
allOS.dev - Creating Cross-Platform Apps6 месяцев назад

So, according to this post: In that past, as Software Developers we were 1. thinking about how solve problems 2. thinking about how to design software But, now we are all just: ===> Baby-sitters for AI. 🤓

Фото профиля Mojihito
Mojihito6 месяцев назад

It seems like coding normal way is just 5 times easier. All i really wanted is a boiler plate generator.

Фото профиля Derek Neighbors
Derek Neighbors6 месяцев назад

As it turns out. People created slop too. A whole industry rose up to teach people/teams ways to combat that slop. Yet, people feel helpless to AI slop. Funny how that works.

Фото профиля My Robot Brain
My Robot Brain6 месяцев назад

Enjoy

Фото профиля 𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】
𝒫𝑒𝓇 𝒜𝓇𝓃𝑒𝓃𝑔 【🐧λ🦀⎈】6 месяцев назад

Modularize the system so the AI operates within clearly defined module boundaries. Use pure, IO-free modules wherever possible to enable fast, reliable testing, and push all IO concerns to edge modules. Test module boundaries through explicit interfaces. You can't fail with this way of working.

Фото профиля Muhammad Motawe
Muhammad Motawe6 месяцев назад

What about people claiming to run 20 agents writing code to the same codebase simultaneously? Would it be possible to prevent slop from 20 different agents or this would be a fool’s errand?

Фото профиля Gavin Morrice
Gavin Morrice6 месяцев назад

I just add “don’t write slop” in my prompts.

Фото профиля Dean Peters☕
Dean Peters☕6 месяцев назад

But ... but ... but ... adding all that context, contracts, and constitutional governance sounds like work!

Фото профиля DevOpsCraftsman
DevOpsCraftsman6 месяцев назад

You don’t mention the using of hooks (claude code & gemini for exemple) to enforce linters at each edit/write - which I find super efficient to enforce coding standards I was possible to literally force Haiku into respecting Clean Code with no prose instruction at all this way

Фото профиля Hadi
Hadi6 месяцев назад

mutation testing sounds to me like a restatement for rule 1 of the 3 TDD rules. “You must write a failing test before you write any production code.” Is that so?

Фото профиля Uncle Bob Martin
Uncle Bob Martin6 месяцев назад

An expression can have many failure modes. The first rule only demands that you test one of those failure modes. Mutation testing finds all the others. If you are being very diligent, while practicing the three laws, you would note down some of those extra failure modes and write tests to cover them later. But that’s fairly haphazard. It’s very easy to miss subtle failure modes.

Фото профиля Hadi
Hadi6 месяцев назад

Right. I believe the model has to do the mutation testing manually right? Are there any skills/tools you know of? or the model does that out of the box? Is that part of the agentic discipline series? Thanks.

Фото профиля Uncle Bob Martin
Uncle Bob Martin6 месяцев назад

There are several mutation testing tools that you can find. I suggest you get the AI to look for some of them and then have it build your own mutation tester tuned to your project. The model will do the mutation testing manually, but it’s unreliable. I wouldn’t trust it.

Фото профиля Hadi
Hadi6 месяцев назад

Okay, thanks.

Фото профиля Anthonidus
Anthonidus6 месяцев назад

He called me out 🤣. @cruelhandeth

Фото профиля Craig Glendenning
Craig Glendenning6 месяцев назад

Everyone, listen to your uncle Bob’s wisdom! “constitutional AI” still means a human has to write the constitution. My constitution is implemented as a cursorrules file. *I* am to blame if my constitution is broken, and I get slop-leak.

Фото профиля Baron Hakkinen
Baron Hakkinen6 месяцев назад

So in the end, the focus shifts to planning and spec refining and less on generating boilerplate. That's not the kind of developer obsolescence future Dario is predicting.

Фото профиля ms. bubbles
ms. bubbles6 месяцев назад

uncle is very wise but looks a little scary 👉👈

Фото профиля Hybrid 🏃🏾
Hybrid 🏃🏾6 месяцев назад

I literally look forward to this morning rants. Lol

Фото профиля M.J.
M.J.6 месяцев назад

Throughout human history CRAAP has been the top mass production, did slop finally outperform and take first place?

Фото профиля Tom Maiaroto
Tom Maiaroto6 месяцев назад

😂 Hard agree! I've been saying this for a long time. The unfortunate part is how so many people don't want to manage, work, or pay attention. I don't know what it is, but I also saw that work ethic start before AI.

Фото профиля Dagoth-Om
Dagoth-Om6 месяцев назад

A tool is only as good as its user!

Фото профиля Gustavo Melo
Gustavo Melo6 месяцев назад

Bob, help me understanding the mutation test part that you emphasized! I was thinking the opposite, always mutate your test because AI will change to make this code pass. I understand that my criteria acceptance is my key barrier here but Its a risk here, dont?

Фото профиля ✚VictrD ✚ 🇺🇸🇺🇦🇮🇱🇹🇼🇬🇪 #NAFO
✚VictrD ✚ 🇺🇸🇺🇦🇮🇱🇹🇼🇬🇪 #NAFO6 месяцев назад

You tell them, Uncle!

Фото профиля Larry🤟🏾🇺🇸 (L/acc) TECH WEEK SF/LA
Larry🤟🏾🇺🇸 (L/acc) TECH WEEK SF/LA6 месяцев назад

Never been easier to get full coverage and great adversarial coverage. No excuse anymore.

Фото профиля Harith Bakhrani
Harith Bakhrani6 месяцев назад

Meanwhile, me coding with AI:

Фото профиля KubaS
KubaS6 месяцев назад

Why are you drinking ai slop?

Фото профиля bjornmuh
bjornmuh6 месяцев назад

Sir, when can I take a shower? Claude says it's unnecessary.

Фото профиля Patrick Kuhnke
Patrick Kuhnke6 месяцев назад

Nha my AI does produce high quality output because I told the one agent I trust the most to quality check the other agents I don't.

Фото профиля Artale
Artale6 месяцев назад

true for sloppy use. but with tight specs, TDD, and review loops, ai can accelerate real craftsmanship the key is staying in the driver's seat

Похожие видео