Sealed classes - would you want them in D?

Tobias Müller troplin at bluewin.ch
Wed May 16 05:59:17 UTC 2018


KingJoffrey <KingJoffrey at KingJoffrey.com> wrote:
> The problem is not so much D, but that C++/Java/C# programmers, 
> and many from other languages (Go, Rust....) will expect private 
> to mean private...not private..depending on....

Well, that's not entirely true.
Visibility in Rust is similar to D.
There's no one true language semantics that holds for all languages. That's
the point of having different languages.


More information about the Digitalmars-d mailing list