this post was submitted on 28 Feb 2024
9 points (100.0% liked)

Programmer Humor

32558 readers
486 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Dirk@lemmy.ml 0 points 8 months ago (1 children)

Python: So you used spaces and tabs for indentation? NOW DIE!

[–] WhiteHawk@lemmy.world 0 points 8 months ago (1 children)

Mixing spaces and tabs should be a warcrime.

[–] merc@sh.itjust.works 0 points 8 months ago (1 children)

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.

[–] Holzkohlen@feddit.de 0 points 8 months ago

Don't IDEs just replace any tab with 4 spaces anyways? Pretty sure VSCode does