DEV Community

Discussion on: Why C# is (one of) my favorite language?

Collapse
 
cout970 profile image
cout970

I dislike C# not because is bad, it's pretty good compared with other languages, but I hate the Microsoft coding conventions, especially functions and methods starting with uppercase characters. I tried several times to start projects in C# but for me it's really hard understand the code, even when I'm used to program in other of languages with worst readability (looking at you java).

Also the lack of support for hotswapping code at runtime makes the coding experience less enjoyable.

Collapse
 
giovannicodes profile image
Giovanni Cortés

I agree that Microsoft has a weird code convention, especially in C++ (the Hungarian notation is not for modern times) but, once you get used to that format, is not so bad.

Collapse
 
jonathanhiggs profile image
Jonathan Higgs

I think the worst convention is sticking Exception at the end. InvalidArgument has everything you need in the name without extending it to InvalidArgumentException, it is just extra characters that take up space

Thread Thread
 
giovannicodes profile image
Giovanni Cortés

Sometimes C# is very verbose, but not at the level of Java