this post was submitted on 31 Mar 2025
610 points (99.7% liked)

Programmer Humor

22219 readers
1550 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 16 points 3 days ago (1 children)

Protip: Add a minor inconvenience to every line, like a trailing space or slightly misaligned indentation. That way the next guy who opens the file will automatically correct it, taking the git blame.

[โ€“] ulterno 1 points 3 days ago

My company had 2 types of people...

Everyone else: who used sometimes 3 or 4 spaces (yes, manually pressing the spacebar even though the IDE provided them);
Me: Commit 1 Added .clang-format
Commit 2 Ran git clang-format