←back to thread

258 points signa11 | 4 comments | | HN request time: 0.668s | 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 #
DowsingSpoon ◴[] No.42733737[source]
I am fairly certain that if someone did that where I work then security would be escorting them off the property within the hour. This is NOT Okay.
replies(5): >>42733887 #>>42733897 #>>42734054 #>>42734331 #>>42734746 #
bitmasher9 ◴[] No.42733897[source]
Where I work we are actively encouraged to use more AI tools while coding, to the point where my direct supervisor asked why my team’s usage statistics were lower than company average.
replies(1): >>42733926 #
dehrmann ◴[] No.42733926[source]
It's not necessarily the use of AI tools (though the license parts are an issue), is that someone submitted code for review without knowing how it works.
replies(3): >>42733954 #>>42734138 #>>42735136 #
xiasongh ◴[] No.42734138[source]
Didn't people already do that before, copy and pasting code off stack overflow? I don't like it either but this issue has always existed, but perhaps it is more common now
replies(3): >>42734276 #>>42734384 #>>42734669 #
1. hackable_sand ◴[] No.42734276[source]
Maybe it's because I'm self-taught, but I have always accounted for every line I push.

It's insulting that companies are paying people to cosplay as programmers.

replies(2): >>42734882 #>>42735003 #
2. guappa ◴[] No.42734882[source]
I've seen self taught and graduates alike do that.
3. ascorbic ◴[] No.42735003[source]
It's probably more common among self-taught programmers (and I say that as one myself). Most go through the early stage of copying chunks of code and seeing if they work. Maybe not blindly copying it, but still copying code from examples or whatever. I know I did (except it was 25 years ago from Webmonkey or the php.net comments section rather than StackOverflow). I'd imagine formally-educated programmers can skip some (though not all) of that by having to learn more of the theory at first.
replies(1): >>42735395 #
4. hackable_sand ◴[] No.42735395[source]
If people are being paid to copy and run random code, more power to them. I wouldn't have dreamt of getting a programming job until I was literate.