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

> So far, I’m only aware of Ruby’s private modifier and Scala’s protected[this] which behave like this. If you know of any other languages, please email me! I’d love to hear about them.

Rerouting throgh comments: Event if it's very different, TypeScript's private has quite surprising semantics as well...



TypeScript's `private` keyword is like the Pirate's Code:

> More like _guidelines_, than actual rules




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

Search: