I program with different languages and for a while now I have wanted to make the K&R variant coding style my default in Visual Studio.
So what do I mean by the K&R variant coding style, this coding style was named after co authors of the book The C Programming Language (thank you Wikipedia!) Kernighan and Ritchie. The variant I like is based on Java – rather than taking up a new line I like the opening brace on the first line of the statement block.
Continue reading »