r/Python • • Jul 25 '18

Use an IDE Me doing my CS projects.

Post image
1.2k Upvotes

213 comments sorted by

View all comments

Show parent comments

1

u/BillyWasFramed Jul 26 '18 edited Jul 26 '18

Oh look, a condescending non-answer. why not use tabs and let me worry about indentation? Are you not answering because there isn't a good answer? If it were really about readability, why wouldn't you use the character that allows me to decide what's readable? You have tabs set to 4? Congrats. You're using 4 spaces. I have tabs set to 2? Congrats, I'm using 2 spaces.

1

u/crunk Jul 26 '18

It was a short answer but it is correct.

Indentation will break, how should python interpret a function with 2 spaces for two lines, and then the next lines are tabs?

For one person it will look like they have the same indentation (mr 2 spaces) for the next it will look wrong.

Easier to have no ambiguity and use spaces.