Re:Show HN: LiteScript
by dclowd9901 on Sunday March 09, 2014 @12:44PM
(#7368879)
I find I have to comment quite a bit with JS because so much can be left up to interpretation, even in the code. It's the only time I wish there was some manner of type safety in JS, even if only in expression -- it sucks when an out-of-date comment gives the wrong type of an incoming param, and it's not until you actually step through that you see that.
[ Parent
| on HN ]
Re:Show HN: LiteScript
by TazeTSchnitzel on Sunday March 09, 2014 @02:31PM
(#7369346)
You might like Microsoft's TypeScript then. It's a JavaScript superset adding ES6-style classes and modules, and optional static typing.