4 ms·
I am a strong believer that typed languages in general should have a compiler annotation mode that with configurable level of verbosity formats explicit types a
by afiori 5y ago
I am a strong believer that typed languages in general should have a compiler annotation mode that with configurable level of verbosity formats explicit types and structural info (dead code, exhaustive matching) into structured comments.
This could maybe also be a pre-commit git hook transformation so that you could see how type changes propagate.
The essential feature must be that the compiler overwrites them often and that they must be informative only.
- brundolf 5y agoThis is a good idea. Languages with advanced type inference have only become mainstream in the last 5 years or so, so I bet we're going to see a lot of innovations like this crop up over time