• 27 Posts
  • 140 Comments
Joined 10 months ago
cake
Cake day: September 13th, 2024

help-circle



  • One thing that annoyed me about C# as a Java guy is that it really wants you to use camel case for function and property names, even private ones. I don’t like it specifically because it’s hard to differentiate between a function/property and a type.

    But C# has quite a few keywords and seem to like adding them more than Java.

    Maybe that’s their way of ensuring keywords don’t clash with stuff?



  • any new keyword could break backwards compatibility

    Wouldn’t that happen anyway with variable and function names? Any type other than primitive/built in ones are usually camel case so lower case keywords are more likely to clash with single word variable and function names, unless you restrict the cases of those too or allow keyword overriding or something.