How many indent spaces do you use?
- 2
- 4
- 8
- Something else?
0 voters
I use four, readability counts, and using four contributes to that. Also, as a Python programmer PEP8 likes four indent spaces anyway.
How many indent spaces do you use?
0 voters
I use four, readability counts, and using four contributes to that. Also, as a Python programmer PEP8 likes four indent spaces anyway.
Why am I the only one who uses 2?
In my opinion, 2 is better.
TBH, I typically use two, but then I’ll use black
to standardize my formatting. (Which bumps it to 4 and breaks apart some very long lines. It’s actually taught me a little bit about valid formatting)
I use 2 as well, I wanna puke at just the thought of eight…like just imagine…
x = 10
if x == 10:
print("hi")
What came to my mind when I saw “Something else?” is tabs
(No offense meant to those who do use tabs)
Saw this stackoverflow blog.
Better a complete list with attributes with volume, money??