this post was submitted on 02 Oct 2023
1544 points (98.4% liked)
Programmer Humor
32558 readers
511 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My favorite part is looking at my ancient code and thinking "Holy hell I don't remember being that smart. What happened?"
A similar phenomenon is knowing you're going to need to go back and update some older section of code and when you finally get around to it, it turns out you wrote it that way to begin with. It's like... I didn't think I knew about this approach before...
"I'm dumber but wiser" - me, hopefully
This right here. Plus stuff like "this is the functions section" and "this is the main script" helps make shell scripts more readable because functions have to come first, and if you just want to get to the main point, you can skip the functions section.