Hacker News new | ask | show | jobs
by bostonOU 4014 days ago
I believe ClojureScript only supports boolean type hints/performance optimization. Other type hints are "supported" but don't do anything.
1 comments

Yeah. They are not really necessary in a Javascript VM that is optimized for these sort of languages anyway.
This is not entirely accurate, the ClojureScript compiler actually internally propagates type information for further optimization. And nothing precludes a Typed ClojureScript which feeds even more information to the compiler.