2 ms·
I've heard endless Python formatting debates too. Luckily most people have settled on pep-8, but even there, there are points of contention, such as line lengt
by dkersten 8y ago
I've heard endless Python formatting debates too.
Luckily most people have settled on pep-8, but even there, there are points of contention, such as line length limits, or how spaces won the tabs vs spaces debate (despite that imho tabs are superior as they encode indention cleanly: 1 tab = 1 indent, yet each person can set their editors tab width however they prefer) See, nobody will ever fully agree on formatting.
- agumonkey 8y agoThat's true.. even though I wouldn't consider variable naming and docstrings a formatting debate.
- dkersten 8y agoTo me anything that affects the visuals of the code without the semantics is a formatting issue -- so tabs vs spaces (and how many) for indents, space after function names (before parameter lists), space between operators, whether camelCase or something else, Foo.foo or Foo.Foo or foo.foo or..., etc. They're all formatting. But that wasn't my point really, which was just that despite its forced indentation, Python still has, in my personal experience, its own formatting debates.