DEV Community

loading...

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

Collapse
giovannicodes profile image
Giovanni Cortés Author

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 Author

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