DEV Community

Discussion on: We created the Crystal language, ask us anything!

Collapse
 
opensas profile image
opensas

I wonder if requiring all public api (input params and return types of every public method) of a file to be typed would allow incremental compilation. In that case, you could add a switch to the compiler to warn you of any typing required to allow incremental compilation. That way, if you want to speed up compilation, you could add the required type. Is it feasible?