this post was submitted on 26 Jul 2023
8 points (68.2% liked)
Programming
17311 readers
287 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wow, the examples of Trelent are so incredibly useless. If you're going to generate comments like that, just don't. It is a waste of time to go through it as it is obvious from the function signature. And anything that could probably be written to be useful in the comment can't be grasped by LLM. LLMs just add padding to data, they add no content.
yeah, any comment that can be auto-generated doesn't need to be there in the first place. The real issue might be overly-dogmatic comment/docstring requirements
Even worse. Auto generated comments just copy the how and not the why. If the code has a bug so does the comment.. and if you fix the bug but not the comment somebody else might change the code back to match the comment.