Re:Better Clojure formatting
by agumonkey on Friday December 07, 2018 @02:51AM
(#18625853)
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.
[ Parent
| on HN ]
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.
That's true.. even though I wouldn't consider variable naming and docstrings a formatting debate.
To 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.