this post was submitted on 13 Dec 2025
478 points (99.0% liked)
Linux
11022 readers
854 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
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.