4 ms·
I really hate the c# code style of a new line for both open and close braces, especially in an if then else statement. Pushes people to use long ternary stateme
by jay_kyburz 4y ago
I really hate the c# code style of a new line for both open and close braces, especially in an if then else statement. Pushes people to use long ternary statements instead.
I prefer ifs to ternarys because, more often than not, I want to easily add and remove statements to the body of the then or else as I'm working things out.