←back to thread

258 points signa11 | 7 comments | | HN request time: 0.852s | source | bottom
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 #
bigstrat2003 ◴[] No.42734054[source]
To be fair I don't think someone should get fired for that (unless it's a repeat offense). Kids are going to do stupid things, and it's up to the more experienced to coach them and help them to understand it's not acceptable. You're right that it's not ok at all, but the first resort should be a reprimand and being told they are expected to understand code they submit.
replies(2): >>42734253 #>>42734271 #
DowsingSpoon ◴[] No.42734253[source]
I understand the point you’re trying to get across. For many kinds of mistakes, I agree it makes good sense to warn and correct the junior. Maybe that’s the case here. I’m willing to concede there’s room for debate.

Can you imagine the fallout from this, though? Each and every line of code this junior has ever touched needs to be scrutinized to determine its provenance. The company now must assume the employee has been uploading confidential material to OpenAI too. This is an uncomfortable legal risk.

How could you trust the dev again after the dust is settled?

Also, it raises further concerns for me that this junior seems to be genuinely, honestly unaware that using ChatGPT to write code wouldn’t at least be frowned upon. That’s a frankly dangerous level of professional incompetence. (At least they didn’t try to hide it.)

Well now I’m wondering what the correct way would be to handle a junior doing this with ChatGPT, and what the correct way would be to handle similar kinds of mistakes such as copy-pasting GPL code into the proprietary code base, copy-pasting code from Stack Overflow, sharing snippets of company code online, and so on.

replies(4): >>42734298 #>>42734496 #>>42734700 #>>42734745 #
1. thaumasiotes ◴[] No.42734298[source]
> Also, it raises further concerns for me that this junior seems to be genuinely, honestly unaware that using ChatGPT to write code wouldn’t at least be frowned upon.

Austen Allred is selling this as the future of programming. According to him, the days of writing code into an IDE are over.

https://www.gauntletai.com/

replies(2): >>42734542 #>>42735281 #
2. manmal ◴[] No.42734542[source]
Responding to the link you posted: Apparently, the future of programming is 100 hour weeks? Naive me was thinking we could work less and think more with these new tools at our disposal.
replies(2): >>42734637 #>>42734898 #
3. ojbyrne ◴[] No.42734637[source]
Also you think with their fancy AI coding they could update their dates to the future or at least disable the page for a past dated session.
4. guappa ◴[] No.42734898[source]
Seems people didn't read the link and are downvoting you, possibly because they don't understand what you're talking about.
replies(1): >>42735002 #
5. manmal ◴[] No.42735002{3}[source]
Thanks, added context.
6. whatevertrevor ◴[] No.42735281[source]
Without prior knowledge, that reads like a scam?

A free training program with a promise of a guaranteed high paying job at the end, where have I heard that before? Seems like their business model is probably to churn people through these sessions and then monetize whatever shitty chatbot app they build through the training.

replies(1): >>42743619 #
7. thaumasiotes ◴[] No.42743619[source]
No, their business model is getting placement fees for whoever they graduate from the program.

Considering this was a sponsored link on HN, endorsed by Y Combinator, I'd say you have a ridiculous threshold for labeling something a "scam", except to the degree that the companies committing to hire these people are pretty unlikely to get whatever they were hoping to get.