I haven't personally used it, but you may find that TypeScript provides
what you're looking for: http://www.typescriptlang.org/


On Fri, Aug 23, 2013 at 1:26 PM, J B <[email protected]> wrote:

> Is there any particular reason my JS doesn't support (optional) AS3 style
> strong typing? All the typing info would be ignored at run-time, but it
> would be helpful for compile-time checking, code hinting, and general
> readability of code. Tools like the closure compiler could even strip out
> all the typing info, and it wouldn't make any difference at run-time. I'm
> probably beating a dead horse here, but why?
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
Jeremy Martin
661.312.3853
http://devsmash.com
@jmar777
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to