5 ms·
As far as I can tell, the majority of C# programmers are either not aware of these features or don't know how to use it. What stops me from praising C# is its
by mojuba 18y ago
As far as I can tell, the majority of C# programmers are either not aware of these features or don't know how to use it.
What stops me from praising C# is its ridiculous verbosity. A language in which the shortest possible form of a character array literal is
new char[] {'a', 'b'}
is doomed to be low-end, low entry-level, low-respect language, despite all efforts to bring some high-end features into it.
- erictobia 18y agoIt's actually possible to write slightly less verbose code with C# 3.0. For example: //... char[] someChars = {'A', 'B', 'C'}; var moreChars = new [] {'D', 'E', 'F'}; SomeMethod(new[] { 'G', 'H', 'I' }); //... I do, however, agree with your sentiment. The language still has some aspects that are quite verbose when compared with dynamically typed languages. You are also right in pointing out that these new features are irrelevant if programmers are not taking advantage of them.