4 ms·
I've always seen python style guides requiring 4 spaces. (With exceptions for 8!) Ruby has standardized on 2 spaces. I've noticed in my own experience that 2
by epochwolf 17y ago
I've always seen python style guides requiring 4 spaces. (With exceptions for 8!)
Ruby has standardized on 2 spaces.
I've noticed in my own experience that 2 spaces is not enough to read python quickly. 2 spaces works fine in ruby because whitespace isn't significant, you can find the end of a control structure by looking for the end keyword.