3 ms·
> Another option is to enable language features on a per-file basis. Will you need a new keyword to enable your option for new keywords?
by chrisseaton 8y ago
> Another option is to enable language features on a per-file basis.
Will you need a new keyword to enable your option for new keywords?
- gizmo686 8y agoIt works better if it is part of the language from the start. Having said that, we can probably implement it using only existing keywords. Maybe: import java.lang.extensions.assert. (I assume Java has some reserved part of the package namespace they can use for this purpose. Even if they don't, it shouldn't be difficult to find a package name that hasn't been used by anyone yet)
- deleted 8y ago[deleted]