Both Vim and Emacs have modes that do well with Python indenting rules, so as long as you have the right tool for the job, I'm sure it would be fine. If the linters can detect these differences, I'm sure that tools will be fine (especially since Python exposes AST in the standard library).
Also, the long function name with two short args is a bad example. It's obviously not pleasing on the eye because of the imbalance of the text (at least to me).
My original point though was that you are trying to state that your indentation rules are actually dictating you style choices. Not everyone agrees with that.
My point was that if you use names to dictate whitespace, your code will get screwed up when you refactor. Even if it's by hand, you'll spend a lot of unnecessary time on the spacebar or backspace.
The long function name with two short args is a completely typical example. The function name was long because it illustrates the problem, the function names were short because I'm lazy and on mobile.
Your indentation rules are actually dictating your style choices
1
u/pyr3 Mar 28 '15
Both Vim and Emacs have modes that do well with Python indenting rules, so as long as you have the right tool for the job, I'm sure it would be fine. If the linters can detect these differences, I'm sure that tools will be fine (especially since Python exposes AST in the standard library).
Also, the long function name with two short args is a bad example. It's obviously not pleasing on the eye because of the imbalance of the text (at least to me).
My original point though was that you are trying to state that your indentation rules are actually dictating you style choices. Not everyone agrees with that.