3 ms·
> Afaik every single OO language allows this. Ruby and Scala disallow it, to name two (edit: to clarify, Scala supports both modes via private and private[this
by bcherny 9y ago
> Afaik every single OO language allows this.
Ruby and Scala disallow it, to name two (edit: to clarify, Scala supports both modes via private and private[this]). I stand corrected on Java, C#, and C++.
> The reasons why TypeScript isn't a battle test solution are laid out pretty explicitly in the Github thread.
I didn't see that, can you point me to it? Yes, in TS it's a compile-time-only check (as are all TS checks), but what does that have to do with reusing the same keyword for a runtime check?