logoalt Hacker News

midnightbobaruntoday at 5:56 PM4 repliesview on HN

So contributions to OpenJDK have to be hand-written, while internally, Oracle uses AI generated code... I guess the logic is that employees who use AI generated code (theoretically) review their code better? The whole thing still seems a little strange.


Replies

jknoepflertoday at 6:20 PM

No, their internal PRs have the same problem, but they are pushing an AI narrative from the c-suite and can hide the reality of their private code bases.

The "limited ROI on AI investment" articles will continue to percolate slowly into the brains of the LinkedIn hive-mind until we hit a tipping point, and then we'll finally shut up about how a handy dev tool with some decent use-cases is the dawning of the singularity that will replace all white collar labor and get back to actually building business value.

show 2 replies
cheezetoday at 9:21 PM

I don't know. I think it makes sense to have a policy like this.

I haven't written a line of code myself in 6 months, but the point is that _you shouldn't be able to tell_

What I tell people at work: Using AI is good. AI can help you do things that you otherwise wouldn't have. It shouldn't be a crutch for thinking.

In that sense, people shouldn't be able to tell that you're using AI unless the tell is that it's _higher quality_ than if you had implemented it by hand.

A good example here is a well-written document that has a _ton_ of deep research behind it. Or code that has extensive tests that would have taken too long to write by hand for the task at hand.

It's bad when it's just "do this thing and post a PR" but I write my code with AI, look at it as a reviewer, offer suggestions, put those into my steering if needed, and I refine it. The way I see it, I'm the first reviewer on everything now before passing it off to another human for review.

There have been points where having AI rewrite something was slower than me doing it, but I'm already in the harness. The cost of waiting is almost zero. What stops me from contributing to the JVM using AI written code that I understand and spent time manicuring? Can a human really tell that it's AI written?

bpodgurskytoday at 5:58 PM

No I'm sure they are just paranoid about license rights.

show 3 replies
Contienttoday at 5:57 PM

It is not when you stop kidding yourself : using AI has nothing to do to improve the quality of the code. It is a vanity status, at this point.

show 1 reply