4 ms·
C# feels cramped unless you have huge desktop monitors.
by swiley 6y ago
C# feels cramped unless you have huge desktop monitors.
- sedatk 6y agoLuckily, that’s changing. C# 10 is converting namespace blocks into directives like Java. That means one fewer indent.
- zorked 6y agoDo people indent namespaces in C#? In C++ it's common practice to not indent.
- sedatk 6y agoYes, it's traditional with C# to indent every multi-line block. There are teams and individuals who opt for some exceptions (like switch/case), but none of them are universally adopted. I haven't seen a single example over the last two decades where namespaces aren't indented. The defaults go a long way.