Optional Strong Typing

Jeremy Martin jmar777 at gmail.com
Fri Aug 23 10:35:47 PDT 2013


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 <port25 at gmail.com> 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
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
Jeremy Martin
661.312.3853
http://devsmash.com
@jmar777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130823/ac0784f5/attachment-0001.html>


More information about the es-discuss mailing list