4 ms·
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 muc
by 35bge57dtjku 10y ago
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.
- kornish 10y agoMy 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.
- ludicast 10y agoI 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.
- 35bge57dtjku 10y agoWhat 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.
- ludicast 10y agoI'll have to reexamine then. Last I saw the typings story wasn't well documented but would be beyond overjoyed to be wrong.
- abiox 10y agoor Fable, or PureScript, or Kotlin... :)
- Rapzid 10y agoFable has such potential. F# is fantastic and I could totally get behind that as a TypeScript alternative under the right circumstances.