Optional Strong Typing

J B port25 at gmail.com
Fri Aug 23 10:38:15 PDT 2013


So the defacto response for large scale JS development will always be: Use
X?


On Fri, Aug 23, 2013 at 12:35 PM, Jeremy Martin <jmar777 at gmail.com> wrote:

> 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/2224c1a6/attachment.html>


More information about the es-discuss mailing list