adamant.language.reference icon indicating copy to clipboard operation
adamant.language.reference copied to clipboard

Issues with `sealed` semantics

Open WalkerCodeRanger opened this issue 7 years ago • 0 comments

Sealed may not make sense because every class defines both an interface and the class itself. It doesn't make sense to say an interface is sealed. Maybe the sealed keyword means that you can't inherit from it but you can implement the interface. There could be a different keyword that blocks implementing the interface when required for security reasons, but that still seems problematical.

WalkerCodeRanger avatar Feb 28 '18 02:02 WalkerCodeRanger