Hacker News new | ask | show | jobs
by luisrudge 3860 days ago
typescript?
3 comments

TypeScript's safety is limited: its type annotations do not exist at runtime, so if it interacts with dynamic code, its type safety is violated.
Scalajs looks so much better.
good call on typescript. I highly recommend it.

for those who don't know, typescript gives you static typechecking and builds to JS. http://www.typescriptlang.org/

That said, node.js can be embraced by being used in places where it's strongest, like packaging web assets, front end builds, package managing js libraries, websocket stuff.

While the company selling the stuff doesn't go into much detail on how node.js is used - when bugs happen - and they will, node enthusiasts are going to get a bad rep for thinking they can use JS everywhere. Not a good idea