Re:TypeScript at Slack
by 35bge57dtjku on Tuesday April 11, 2017 @05:29PM
(#14092636)
Have you tried ScalaJs? Typescript seems like a better alternative to plain Js, but still seems pretty lacking. For example, the standard libraries are so much nicer than what TS or Javascript offer.
[ Parent
| on HN ]
My suspicion is that the ease of porting an existing JS codebase to Typescript is an order of magnitude easier than rewriting it in Scala, even if the eventual benefit is higher.
I think scala.js is having better integration these days (due to typings etc.) But still not 100%.
But I would switch to all-scala if it ever had a dev-friendly 100% integration strategy.
Re:TypeScript at Slack
by 35bge57dtjku on Tuesday April 11, 2017 @08:01PM
(#14093616)
What do you mean by that? It's had the ability for a while now to easily specify types for external js code and call js code.
I'll have to reexamine then. Last I saw the typings story wasn't well documented but would be beyond overjoyed to be wrong.
or Fable, or PureScript, or Kotlin... :)