by ppeetteerr · 5y ago · 0 comments
Pretty sure that's not accurate. You can use whatever number of spaces, provided it's consistent for a specific block of code.
Criticize the wonky static typing tools and I'm with you. Criticize the unpredictable performance and I'll join the choir. Criticize dependency management and I'll unleash my rage. But come on, this is just not a thing. IME even data analysts with non-cs backgrounds and very limited programming ability never see this as a problem.
It's fine if you don't like it (I prefer my {s as well!) but I'll be honest: it really feels like a nitpick.
So Python 3 enforces that the whole file uses either X number of spaces or tabs, you can use either of them.