Incremental compilation exploration

Following is my point of view for the asterite old 2.0 wishlist

Instead of require merely loading files, change it, or introduce an import keyword to specify what you want to import. If you don’t import something, it’s not globally available (unlike the current behavior)

It sounds useful.


Mandatory types in method arguments and return types

We can add a compiler toggle, for this?


Disallow reopening types, but allow something similar by having extension methods (similar to C#)

I consider this is the spirit of Crystal?


Type restrictions in generic type arguments

It sounds useful.


Macros can no longer introspect the entire program. They can still introspect types

Can we still use feature like @type.methods ? if not, not good.

1 Like