Re:Controversial Programming Opinions (2012)
by Izkata on Friday December 04, 2020 @10:35PM
(#25311484)
I believe you'd like elastic tabstops: http://nickgravgaard.com/elastic-tabstops/
Re:Controversial Programming Opinions (2012)
by gsoto on Saturday December 05, 2020 @01:23PM
(#25316865)
I love them! It's a shame they didn't really catch on.
Re:Controversial Programming Opinions (2012)
by colejohnson66 on Friday December 04, 2020 @07:46PM
(#25310421)
So you’re against any indentation? I don’t think you’ll find many programmers at all who agree with that statement.
We are not typesetting; formatting resources should be kept to a minimum to make the code easy to handle in plaintext. Fortunately, code is restricted enough that we can do pretty well without those.
You don't write spaces to align text in Word: it's a nightmare to maintain and the software provides better tools for that purpose. Why do we still write code as if we were using a typewriter?
You may think you are improving readability by aligning columns of text, but then, the impossibility of standardizing such baroque formatting rules goes against that. Furthermore, you are preventing people from using a variable-width font, which is actually better for readability.