3 ms·
That's one very nice side of python, no time wasted on formatting. I cannot bear formatting arguments even for a second it kills my soul.
by agumonkey 8y ago
That's one very nice side of python, no time wasted on formatting. I cannot bear formatting arguments even for a second it kills my soul.
- dkersten 8y agoI'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.