Live data from Hacker News

AI PR adds auto generated comments to whole Spring Boot Project

github.com

1–10 of 48 posts

Re: AI PR adds auto generated comments to whole Spring Boot Project

#3

I struggle to see how any open-source project would accept this kind os PRs, the tools seems ok for research, but not a good ideia to push PRs like that open source projects.

Agreed. This seems like rather shameless advertising at the expense of the labor of the project maintainers.

Re: AI PR adds auto generated comments to whole Spring Boot Project

#4

I struggle to see how any open-source project would accept this kind os PRs, the tools seems ok for research, but not a good ideia to push PRs like that open source projects.

I have to say, the maintainers handled it with grace though. Didn't sass the company for it or anything, politely declined the PR, closed it, locked it and moved on.

It reflects back on them really well.

I've never used Spring Boot, but I have to give them credit for this. I don't know that I'd have similar restraint

Re: AI PR adds auto generated comments to whole Spring Boot Project

#5
post #3

I struggle to see how any open-source project would accept this kind os PRs, the tools seems ok for research, but not a good ideia to push PRs like that open source projects.

Agreed. This seems like rather shameless advertising at the expense of the labor of the project maintainers.

The comments are worthless too.

Things like a method called Foo that takes a Bar so the comment says (in 3 or 4 lines)

“Foo takes a Bar”

Wow! The future is here!

Re: AI PR adds auto generated comments to whole Spring Boot Project

#6
post #3

I struggle to see how any open-source project would accept this kind os PRs, the tools seems ok for research, but not a good ideia to push PRs like that open source projects.

Agreed. This seems like rather shameless advertising at the expense of the labor of the project maintainers.

[dead]

Re: AI PR adds auto generated comments to whole Spring Boot Project

#8
To be honest, I see two positives regarding what Codemaker has provided here.

One is that (glancing through the comments) they're actually significantly more thorough than what is already there and they're at the level of thoroughness that a new user may actually want. Phil Webb is quite right; this is the level of detail someone new to the codebase could use, and if you could generate it dynamically on the fly as a "Help me understand what I'm looking at" tool that'd be really nice-to-have.

Second: I've definitely worked at places so tight-ass about code documentation that they do want "makeAppleRed(): Makes the apple red." Mostly because they're using doc engines that do a bad job of letting you know a function exists at all if it isn't documented. I have no doubt Codemaker is going to make its money on those places.

Re: AI PR adds auto generated comments to whole Spring Boot Project

#9
post #7

Given that all the comments I'm seeing are of the “‘makeFooReady’ makes foo ready” ilk, I wonder how these tools fare on incorrectly-named things. Would it pick up on ‘asyncRemoveFoo’ being neither async nor a function that removes foo?

Auto-generated comments ("foo takes bar and returns baz") have been a thing in Java IDEs for a very long time...but most people just consider them to be clutter and don't use them.

A product that scans your repo and identifies mis-named functions would be compelling, though.

Post reply on HN