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

So just define your classes with struct. ¯\_(ツ)_/¯



But then all your privates will be public by default.


As I like to put my privates at the bottom of the definition of a class, having to use the class keyword and then having to put a public access specifier immediately after is fairly annoying :).




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

Search: