4 ms·
I totally agree; I personally hate this style of code! However, people still write it (in the same way they screw up tabs+spaces), and in some code bases it's "
by gregmac 5y ago
I totally agree; I personally hate this style of code! However, people still write it (in the same way they screw up tabs+spaces), and in some code bases it's "the style" they use.
I've also seen a lot of SQL and LINQ (C#) written in this way, as well as things like:
var longString = "Line 1\n" +
"Line 2\n" +
"Line 3";
- zkldi 5y agoPersonally, I'd go as far to say that `alignment` is an anti-pattern. Setting up an automatic formatter and using tabs is personally the best for all worlds. Space-like alignments like var someReallyLongVar = 5; var x = 10; Are the worst!