39 ms·
> 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
by 3np 3y ago
> 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...
- tubthumper8 3y agoTypeScript's `private` keyword is like the Pirate's Code: > More like _guidelines_, than actual rules