←back to thread

258 points signa11 | 3 comments | | HN request time: 0s | source
Show context
kirubakaran ◴[] No.42732804[source]
> A major project will discover that it has merged a lot of AI-generated code

My friend works at a well-known tech company in San Francisco. He was reviewing his junior team member's pull request. When asked what a chunk of code did, the team member matter-of-factly replied "I don't know, chatgpt wrote that"

replies(16): >>42733064 #>>42733126 #>>42733357 #>>42733510 #>>42733737 #>>42733790 #>>42734461 #>>42734543 #>>42735030 #>>42735130 #>>42735456 #>>42735525 #>>42735773 #>>42736703 #>>42736792 #>>42737483 #
gunian ◴[] No.42733790[source]
the saddest part is if i wrote the code myself it would be worse lol GPT is coding at a intern level and as a dumb human being I feel sad I have been replaced but not as catastrophic as they made it seem

it's interesting to see the underlying anxiety among devs though I think there is a place in the back of their minds that knows the models will get better and better and someday could get to staff engineer level

replies(3): >>42733866 #>>42733917 #>>42734750 #
nozzlegear ◴[] No.42733866[source]
I don't think that's the concern at all. The concern (imo) is that you should at least understand what the code is doing before you accept it verbatim and add it to your company's codebase. The potential it has to introduce bugs or security flaws is too great to just accept it without understanding it.
replies(3): >>42734056 #>>42734087 #>>42734129 #
gunian ◴[] No.42734056[source]
Exactly why devs are getting the bug bucks

that is right now at some point what if someone figures out a way to make it deterministic and able to write code without bugs?

replies(2): >>42734159 #>>42734288 #
hackable_sand ◴[] No.42734288[source]
You cannot write code without bugs.
replies(1): >>42734678 #
manmal ◴[] No.42734678[source]
I‘d say, you cannot write _interesting_ code without bugs.
replies(1): >>42734787 #
1. hackable_sand ◴[] No.42734787[source]
You know what

One man's bug is another man's feature

replies(1): >>42734961 #
2. jononor ◴[] No.42734961[source]
Sure. And some of those people are black hats ;)
replies(1): >>42735034 #
3. gunian ◴[] No.42735034[source]
modern freedom fighters Abe Lincoln couldn't compare :)