Hacker News new | past | comments | ask | show | jobs | submit login

> What is wrong with different naming conventions for fields vs. properties, and methods? It makes it immediately obvious what is what at a glance.

Which is precisely one of the problems of properties in C#, it makes fields and properties look and feel extremely different from the outside which violates the uniform access principle.

As I noted, ideally C# should not have public fields in the first place.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: