3 ms·
And people prefer different coding styles. One persons "icky syntax and forced use of whitespace" is another ones preference. At the same time, you trade your f
by egil 12y ago
And people prefer different coding styles. One persons "icky syntax and forced use of whitespace" is another ones preference. At the same time, you trade your freedom of whitespace expression with simplicity when you need to understand or work with code written by others.
- Mithaldu 12y ago> you trade your freedom of whitespace expression with simplicity when you need to understand or work with code written by others. To be fair, that's a red herring in an age where most languages have tools available to clean up and reformat a weirdly formatted file directly in your editor. (I have Perl::Tidy bound to Ctrl+E and that combination gets hit more often than the space key, especially on code i am writing.)
- DasIch 12y agoYou are not just looking at code in your editor and the majority of tools are not able to just reformat code. Reformatting also breaks line numbers which makes it difficult to talk about the code with others.
- Mithaldu 12y ago> You are not just looking at code in your editor and the majority of tools are not able to just reformat code. Ctrl+C and Ctrl+V are a thing. The last time i looked at code on paper was years ago. In practice over the past 9 years i have not looked at any piece of code that i wasn't able to tidy so i could work with it. > Reformatting also breaks line numbers which makes it difficult to talk about the code with others. Ctrl+Z is also a thing, as is a vast number of pastebins. Again, in practice i have never run into the problem you describe, and i work with what is claimed by some to be the most unreadable mainstream language in existence.