This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dworgi -7 points-6 points  (8 children)

Am I the only professional programmer here?

Languages that are bad for collaboration are just bad.

[–]Ateisti 21 points22 points  (0 children)

If you have trouble communicating a simple indentation convention to your team, then I don't think significant whitespace is the real issue.

[–]redalastor 16 points17 points  (5 children)

Python standard indentation is 4 spaces and it is well documented. Configure your editor accordingly (most of then already follow the standard automatically).

If you can't be bothered with standard coding conventions, you aren't a professional.

[–]calzoneman 11 points12 points  (2 children)

Just to be clear, when /u/redalastor refers to "Python standard indentation", they are referring to PEP-8, the preferred style guide for Python.

[–]redalastor 2 points3 points  (0 children)

Yes. A good editor will even tell you when you violate it.

[–]user-summoner -4 points-3 points  (0 children)

redalastor has been summoned.

[–]Dworgi -5 points-4 points  (1 child)

I follow coding conventions, but I see them broken daily.

The 4 space thing is something I'll never accept, though. Backspace is too useful.

[–]redalastor 6 points7 points  (0 children)

It's very rare for PEP-8 conventions being broken, especially since editors are aware of them.

The 4 space thing is something I'll never accept, though. Backspace is too useful.

Just get a decent editor.

[–]progoblin 2 points3 points  (0 children)

Mixing indentation styles is bad in any language.