r/ProgrammerHumor • • Oct 01 '26

Meme goodVibesOnly

Post image
13k Upvotes

398 comments sorted by

View all comments

Show parent comment

148

u/johnnybgooderer Oct 01 '26

And with ai, you can ask for a code review. It’s generally very good at catching and suggesting fixes these things.

I don’t want ai to replace us all with high school grads, but it’s seeming more and more likely.

68

u/AOAqua Oct 01 '26

Yes, you can. But how would you even know there was a problem to begin with?

13

u/Kolossive Oct 01 '26 edited Oct 04 '26

SAST is one of those uses cases that it actually outperforms traditional tools

28

u/johnnybgooderer Oct 01 '26

You ask it to review your code with a focus on security. That is rapidly becoming standard practice.

You can even just ask it something like, “I want to ship this to production. Is it missing anything? It would tell you about observably and security concerns

54

u/utl94_nordviking Oct 01 '26

It would tell you about observably and security concerns

The issue is: with replacement coming fast, devs will lack the ability to understand what those words even mean. Even less check the code.

26

u/Skoparov Oct 01 '26

That's literally the definition of magic. You do a ritual and something happens. You don't understand what happens exactly and how it happens though. Most of the time the result of what happens is within the margin of error of what you want, but each time it's slightly different and sometimes you can get something completely unexpected if you mix up the words of the spell.

18

u/akera099 Oct 01 '26

Brother if executives can extract money with blood magic they will.

5

u/AnOnlineHandle Oct 02 '26

Compilers are magic to 99.999% of programmers then.

→ More replies (10)

9

u/LukasFT Oct 01 '26

And if you say "Make no mistakes" at the end of your prompt, you can release that airplane control software straight into production!

→ More replies (2)

37

u/Abject-Kitchen3198 Oct 01 '26

Each iteration may flag different things, depending on subtle prompt difference, or just randomly. It may ignore a lot of obvious important issues.

Unless you add "You are top level software architect from a tech giant company", of course.

17

u/TheTerrasque Oct 01 '26

And each person reviewing code may flag different things. That doesn't mean it's not helpful or we stop doing code reviews.

13

u/Abject-Kitchen3198 Oct 01 '26

I'm uncomfortable when those comparison of LLMs with human behavior actually make sense.

3

u/cortesoft Oct 02 '26

They really do.

People complain that an AI is a black box, but what is more of a black box than another human’s brain?

→ More replies (1)

8

u/nuclear213 Oct 01 '26

I mean, why do we act like this is a new problem? I mean, I worked with an "experienced" engineer before. He could barely write a python script, but was tasked to review my PR. I dont know how he got the position, but honestly, I cannot remember a single time where his review actively gave me back anything productive.

Another example was a person that hated shorthand operators. Like not only tenary but even +=. He blocked all reviews with it, and the supervisor did not care.

Reviews, especially in smaller firms, were always really a hit and miss thing.

7

u/Loudergood Oct 02 '26

Is everyone out here rizzing that engineer like he's the best thing since sliced bread? 

→ More replies (1)

9

u/BenignPharmacology Oct 01 '26

I was testing out the limits of AI on self-policing recently- I had it iteratively build a Tetris game in JavaScript.

90% of it worked decently, but piece rotation just got stupider and stupider the more I tried to fix it. There’s this pattern it gets into where it’s like locked into a strategy and instead of fixing it, it latches onto some specific suggestion, or it adjusts parameters until its current solution solves the issue (without necessarily being correct)

It was a very revealing experiment, and it left me a lot more wary of code that is “written and tested/confirmed to be correct”

→ More replies (1)

18

u/Taletad Oct 01 '26

How can you know it is actually catching stuff and suggesting fixes ?

For all you know it could be inventing problems that don’t exist and selling you fixes that don’t work. All the while the actual problems remain untouched

30

u/johnnybgooderer Oct 01 '26

Because I’m an experienced engineer and I use ai now for lots of things. Everyone should use it for self code review. It’s such a useful tool for that.

I know what it’s suggesting is real because I am an engineer. Sometimes it will suggest more than is necessary, but it does a good job of catching security concerns. Better than humans really.

8

u/nuclear213 Oct 01 '26

How do you know your review partner did? How do you know, they dont just skim and write LGTM?

All of your guys are acting like everyone works massive software departments. But most people I know work in smaller firms. With at max a handful of engineers and developers.

Heck when I bought into my current company, we did not even use proper version control, review was giving someone else the compiled software and they should test it.

→ More replies (2)

16

u/Subpxl Oct 01 '26

I used to make fun of vibe coding. Now it’s really the only way for me. I have been programming for over 20 years and the reality I have had to accept is that AI is better, faster, and safer than I ever could hope to be. It’s also better than every other programmer I know. Once I accepted this it became easier to change my mindset and treat it like any other tool. My value is knowing how to direct, architect, and review.

At this stage I would never go back.

9

u/johnnybgooderer Oct 01 '26

I feel like you’re overhyping it. I’m firmly of the belief that it’s going to be writing the majority of code and there will be a lot less engineers. But people are still better. At least good engineers are. But probably not better-enough for it to matter.

11

u/Subpxl Oct 01 '26

Have you actually tried it? I would have completely agreed with every word you wrote about 6 months ago. I used to think it was overhyped until I integrated it at work using premium team plans. Claude specifically on Fable 5.1. It's absolutely unbelievable. I'm doing a full month of work in a few days, easily, all with better documentation and safety checks.

The more you surround yourself with it, the more easily it is to understand that programming is actually one of the easiest areas for AI to outshine humans. The languages and capabilities are fully documented. Code is easy to read, easy to test, and cheap to write. There's nothing special about the human mind that makes it more capable.

→ More replies (6)

7

u/bickdiggles Oct 01 '26

Interesting. I’ve also accepted the new reality and will lean on it more when we have a bunch of imminent deadlines. It’s certainly faster but the quality takes a noticeable drop. 

I would go back in a heartbeat as development is now joyless and I enjoy building more than reviewing / course correcting 

6

u/Subpxl Oct 01 '26

I completely understand where you're coming from about development being joyless. I have countered that by working on personal projects concurrently with work projects. Even that might still not bring joy to many.

Regarding quality of AI code, this was my experience until I got better at directing it and going with a more spec-driven approach. The AI model and level of effort within that model has also had a huge impact.

4

u/bickdiggles Oct 01 '26

I can see that being helpful. I can’t work on personal stuff during work and am too burnt out to do it after work unfortunately. 

Yeah I’ve certainly seen improvements over time using specs, workshopping before building, and having a workspace level memory manifests. It’s not that the generated code is bad but it’s noticeably lower quality: lack of immutability, singleton scope, not fully considering impact to other consumers of changes to commons, solving a problem with 100s of lines of code when a simpler approach does it say < 20 lines, etc. The funny thing is a lot of that stuff would get called out in review in the before times but I rarely see that type of feedback anymore, probably because people are using their own agents to do reviews for others now. 

→ More replies (1)
→ More replies (5)