4 spaces? seriously? Why would anyone type out 4 spaces instead of one tab?
Python Style Guide from Google
11–20 of 30 posts
Re: Python Style Guide from Google
#12Re: Python Style Guide from Google
#13Re: Python Style Guide from Google
#144 spaces? seriously? Why would anyone type out 4 spaces instead of one tab?
Re: Python Style Guide from Google
#154 spaces? seriously? Why would anyone type out 4 spaces instead of one tab?
Re: Python Style Guide from Google
#164 spaces? seriously? Why would anyone type out 4 spaces instead of one tab?
Re: Python Style Guide from Google
#17Earlier quoted context omitted.
In that it destroys a greater proportion of the language's expressive power? :-p
It has improved considerably since the adoption of (much of) C++11. Still no exceptions, though.
If my team had some process (via code review, static analysis, or anything else) that could ensure error returns were actually checked and handled, then the case for exceptions would be much diminished.
Re: Python Style Guide from Google
#184 spaces? seriously? Why would anyone type out 4 spaces instead of one tab?
Personally, i use tabs of size four with expandtabs setting. That way i don't have to press four spaces and my files look the same across all editors and platforms.
Re: Python Style Guide from Google
#19Re: Python Style Guide from Google
#20Earlier quoted context omitted.
It has improved considerably since the adoption of (much of) C++11. Still no exceptions, though.
The advantage of exceptions is not so much their "expressive power", but the fact that they provide an approximation to error handling even when nobody remembers to express it. If my team had some process (via code review, static analysis, or anything else) that could ensure error returns were actually checked and handled, then the case for exceptions would be much diminished.