3 ms·
Hopefully flow typing will be next. It's a really cool idea and I'm surprised it hasn't caught on more. https://en.wikipedia.org/wiki/Flow-sensitive_typing htt
by IshKebab 9y ago
Hopefully flow typing will be next. It's a really cool idea and I'm surprised it hasn't caught on more.
https://en.wikipedia.org/wiki/Flow-sensitive_typing https://en.wikipedia.org/wiki/Flow-sensitive_typing
- girvo 9y agoOne of my favourite features of Flow is the ‘*’ type and having Flow handle the given type based on control flow via “if” checks. You can achieve it somewhat in TypeScript too, IIRC. Neither are quite as powerful as I would like, but then what I would like is basically magic!
- majewsky 9y agoOooh, that concept has a name! This has been on the list of features of my dream programming language for a long time, but I didn't know this has a name and Wikipedia article and everything.