Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Semantic whitespace is fine because every decent editor handles it automatically.
Spaces vs. Tabs is irrelevant because every decent editor handles it automatically.
Just don't use notepad. -
It's 2019 and we live in a fucking society. Just get an automatic tab to space and space to tab converter and do whatever the flying fork you want.
-
Parzi86635y> has IDLE configured for 17 spaces
also i feel indentation in any editor ever for Python that isn't Notepad is handled well because it's automatic. It's better than "oh fuck i forgot a bracket somewhere and shit is breaking help where is it WHERE IS IIIIIIIT"
plus you do the indents in other languages anyways, as your IDE makes the nice C pyramids and shit
so just
use the things you already use as the thing instead of adding an entirely new thing you idiot
"but then we can write shit all in one line" GCC will beat you over the head for it, and GCC's rule is law, so... -
VaderNT16175yOh shut up, I use whatever *I* want. If you can't handle anything besides the sacred four spaces indentation, go join Black (a Python code formatter). Its lead dev is a similar spaces nazi.
Related Rants
If you are a Python developer then you had better use 4 fucking spaces. NO TABS! Die in a fire if you use tabs. And even god can't save you if you use 1 space.
devrant
python