this post was submitted on 28 Feb 2024
1010 points (97.0% liked)
Programmer Humor
32483 readers
602 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
Python: So you used spaces and tabs for indentation? NOW DIE!
Mixing spaces and tabs should be a warcrime.
Find me anyone who claims they use tabs for indentation, and I bet I'll find at least one case where they're using both tabs and spaces.
The only safe way to avoid war crimes is to avoid tabs.
Don't IDEs just replace any tab with 4 spaces anyways? Pretty sure VSCode does
I don't use an ide, but I wrote a script that replaces any space I type with four.
I haven't worked out all the use cases yet, though.
That's a setting in the editor.