this post was submitted on 13 Dec 2025
478 points (99.0% liked)
Linux
10668 readers
907 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You used to be able to tell an image was photoshopped because of the pixels. Now with code you can tell it was written with AI because of the comments.
and from seeing quite a few slops in my time
Emojis in comments, filename as a comment in the first line, and so on
I've been in the habit of putting the filename as first comment in most of my scripts forever. I don't know when or why I started but please don't make me change!
You're absolutely right — we shouldn't have to change our style just because a machine copies it.
it’s how example code is often written when it’s i. a book or a webpage… there’s not really a good reason to do it in a real file because it’s in the filename.
but if it helps you organize it doesn’t hurt anything.
Put a random fuck in the comment to differentiate yourself
I add a comment to he first line of unsaved files because that's what Code displays for the tab name and it either helps or confuses me about what is in the tab.
Isn't fine name in the comment in the first line default behavior for multiple IDE/boilerplate generations?
They werent hiding it, they started with vibe
# Optional but [...]
edit to explain my very vague comment: ChatGPT loves to offer code with some lines commented as "Optional [... explanation]". You can easily tell AI code when the monologuing comments are left in