adamant.language.reference
adamant.language.reference copied to clipboard
Issues with `sealed` semantics
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.