Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can still use them to make almost-completely-private methods and properties, it's just the syntactic sugar that was dropped:

http://raganwald.com/2015/06/04/classes-are-expressions.html

HN discussion:

https://news.ycombinator.com/item?id=9660658



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

Search: