News for hackers. Stuff that matters.
Re:The day I taught AI to read code like a Senior Developer by asah on Sunday January 05, 2025 @01:19PM (#42603742)
It's incredibly hard to get __ HUMANS __ to do this amazing thing consistently and accurately for all reasonable inputs.
Re:The day I taught AI to read code like a Senior Developer by overgard on Sunday January 05, 2025 @02:00PM (#42604056)
To be fair, most senior developers don't have any incentive to put this amount of analysis into a working codebase. When the system is working, nobody really wants to spend time they could be working on something interesting trying to find bugs in old code. Plus there's the social consideration that your colleagues might not like you a lot if you spend all your time picking their (working) code apart while not doing any of your tasks. Usually this kind of analysis would come from someone specifically brought in to find issues, like an auditor or a pen-tester.
Re:The day I taught AI to read code like a Senior Developer by kotlip on Sunday January 05, 2025 @02:21PM (#42604222)
The right incentives would motivate bug hunting, it entirely depends on company management. Most competent senior devs I’ve worked with spend a great deal of time carefully reading through PRs that involve critical changes. In either case, the question is not whether humans tend to act a certain way, but whether they are capable of skillfully performing a task.
Re:The day I taught AI to read code like a Senior Developer by smrtinsert on Sunday January 05, 2025 @02:24PM (#42604266)
Unfortunately some senior devs like myself do care. Too bad no one else does. Code reviews become quick after a while, you brain adapts to being to review code deeply and quickly
Re:The day I taught AI to read code like a Senior Developer by iaseiadit on Sunday January 05, 2025 @01:40PM (#42603901)
Some humans can do it consistently, other humans can't.

Versus how no publicly-available AI can do it consistently (yet). Although it seems like a matter of time at this point, and then work as we know it changes dramatically.

Re:The day I taught AI to read code like a Senior Developer by talldayo on Sunday January 05, 2025 @02:06PM (#42604104)
Humans are fully capable of protracted, triple-checked scrutiny if the incentives align just right. Given the same conditions, you cannot ever compel an AI to stop being wrong or consistently communicate what it doesn't understand.