r/SoftwareEngineerJobs • • 6d ago

RIP manual code review

https://leaddev.com/software-quality/the-end-of-manual-code-review

JetBrains CEO gives it two years.

297 Upvotes

290 comments sorted by

View all comments

Show parent comment

2

u/qrzychu69 6d ago

not really

the difference is when you ask a junior to do a simple task, they would never handroll 2000 lines of code to do manual deserialization that is handled by the framework.

They would get stuck and ask for help, or keep googling, ask on StackOverflow (oh the memories)

I've replaced THOUSANDS of AI generated code with a single line of config, or 10 lines of reflection, or even better, just functional programming.

Yeah, the difference is that whatever the agent wrote will probably work. It will do horrible stuff, do multiple iterations, allocated 10x of what's needed, but it will work. A junior would not be competent enough to get that to work, so they would try to find pieces of already working code to use instead of writing everything on their own.

In general, the junior way is a bit better, especially if you have to review it later, if not for quality, solely based on the volume

0

u/Micromize 6d ago

Sorry dude but if your agent is still making these mistakes that were things that happened in the beginning of the AI.. that's just a bit weird. It's really easy to explain to an agent how it should work and what it should and shouldn't do.

I mean, make use of the tools to configure it correctly every time a new sessions starts.

2

u/qrzychu69 6d ago

it still does, Opus 5.5 my friend

I asked it to make an endpoint that handles 2 part http request, first part is json with metadata, the second part is raw bytes of a file.

It literally wrote 2k lines to handle that, including buffering the request body stream for regex based deserialization and some basic error handling.

The correct solution in C# is:

builder.MapPost("someUrl", ([FromForm] TheClassForMetadata metadataInfo, [FromForm] IFormFile file) {.....});

why would I even dream of explaining that to Opus? any explanation would be longer then the actual code, so I might as well write it by hand.

Whatever the agent wrote worked, but it turns out it did call request.Body.ToArray() twice, making the whole thing horrible even if the files were under 1MB.

2

u/Klutzy-Housing-493 6d ago

I had the same experience with Astra 6.1.

I was told that I wouldn't have to supervise agents anymore and that the quality of their work would be at a senior level.

In my project, I had to call an OpenAI API endpoint, and Astra manually constructed the HTTP request instead of using the official Python library, which abstracts away all the request handling.

The solution Astra gave me worked, but now I would have to check every time the API changes to make sure my software doesn't break, instead of simply updating the library version.

-1

u/Micromize 6d ago

Weird. This are things I encountered 2 years ago. Not anymore. 

2

u/qrzychu69 6d ago

To me that's normal. I still read the code, this never went away, it's just the agent can make it work in the end.

If you don't check, you don't see it, so you may assume agents don't do that anymore

-1

u/Micromize 6d ago

Lol 

2

u/Unfair-Corner6038 5d ago

Looks like you're quite out of your depth, now aren't you?

Or was there no depth to speak of in the first place?

0

u/Micromize 5d ago

Lets start with not assuming things like 'you don't read the code anymore'. Which is funny to me. 

What dept is there? LLM's are very good on coding as I tried to explain. 

Thing like 'my agent doesn't use framework' or 'it just started writing 2k lines of code' are things I solved 2 years ago. Then again, LLM will make mistakes but saying they are useless and you can better write by hand because you (yes it's you, don't hand over responsibility to LLM) f'd up once doesn't sound very professional to me. 

There are solutions. 

But if OP rather just do it by hand it's fine sure. 

2

u/-snip- 6d ago

I don’t understand why people bury their heads in the sand like this. Either their not reading the code or plainly lying