this post was submitted on 28 Jul 2024
1299 points (98.9% liked)

Programmer Humor

19585 readers
715 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 3 months ago (8 children)

It does, but most style guides and autoformatters will use 4

[–] [email protected] 11 points 3 months ago (7 children)

Python is one of the few languages with an official style guide, I think that guide says 4 spaces.

[–] [email protected] 4 points 3 months ago (6 children)
load more comments (5 replies)
load more comments (5 replies)
load more comments (5 replies)