3 ms·
Isn't the base indentation style of Python insane ? I remove a "if:" block and and have to press backspace, maybe 100 times ? If I add one "if:" then have to pr
by rvnx 7y ago
Isn't the base indentation style of Python insane ?
I remove a "if:" block and and have to press backspace, maybe 100 times ?
If I add one "if:" then have to press 100 times on space ?
Yes, nice you can have Python-adapted editors where ident levels can be tuned, but no, it's still a big defect
- eru 7y agoNo, the indentation is a feature. Your editor can help you with the editing. (And the problem you mention are exactly the same, if you write production code in other language. Your teammates will hopefully insist on consistent indentation in C or Java as well.)
- uryga 7y agoit's never really been a problem for me, i just select the block and tab or shift+tab it as needed. honestly i'd be doing the same in C or whatever braces-based language