4 ms·
I used to agree, but since adopting the Allman style have found that in many cases it's very helpful in making code readable (especially if using an editor whic
by johnlbevan2 9y ago
I used to agree, but since adopting the Allman style have found that in many cases it's very helpful in making code readable (especially if using an editor which doesn't provide any auto-format options).
That said, some languages are impacted by style choice; e.g. JavaScript. Given many of us have to develop in multiple languages, it would be great to select a style supported by all languages (better would be if all languages supported all styles).
https://stackoverflow.com/questions/12233999/is-it-true-that-i-should-use-kr-styling-when-writing-javascript https://stackoverflow.com/questions/12233999/is-it-true-that...