r/TheMachineLearning • • 21d ago

Frontier LLMs stopped adding code comments

Post image
720 Upvotes

178 comments sorted by

View all comments

1

u/esaule 21d ago

I want very little comments in code. Functions should tell me what they do. And tbat's about all I really want.

Then if something is truely odd, then yes tell me what is going on in a comment. But in general there probably should not be comment in a function body.

1

u/tigerhuxley 18d ago

Sounds like you’ve never deployed anything in production before. Or you don’t give a shit about people who have to maintain your code.

1

u/Purple_Repeat6977 17d ago edited 17d ago

I've worked on systems worth high tens of millions USD with teams across three continents. You have no idea what you are taking about. You don't just add comments for no reason, as developers we can read code, we aren't stupid. You write comments to explain very specific pieces of functionality or where it differs from convention or standards

If you can't read code, you're not a programmer and you're going to do more than good changing anything.

You must be a manager of some kind because you've clearly not touched code for 30 years

1

u/tigerhuxley 17d ago

Lolol - worked on systems — but docs and code comments are a waste of time and not required at all by all major corporations across multiple continents 🤣 omg too funny

1

u/Purple_Repeat6977 17d ago

Of course we have documentation. We weren't talking about documentation, we were talking about code comments. If you can't even read one single Reddit comment, how would anyone trust you to read comments in code either

Perfect illustration of why you have to actually read

1

u/tigerhuxley 17d ago

🤣 definitely not a programmer that knows how to use operators lol

1

u/Purple_Repeat6977 17d ago

If you say so.

1

u/tigerhuxley 16d ago

Well, you just kind of skated over the “and” while implying I was only talking about documentation.
Probably better just to read your code then huh? Comments and docs don’t seem to be your strong suit.

1

u/Purple_Repeat6977 16d ago

You didn't read. You can't gaslight me like you can everyone else in your life.

1

u/tigerhuxley 16d ago

Lolol yeaaaahhh like thats gonna work on me loopypurps