News for hackers. Stuff that matters.
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.
Re:TypeScript at Slack by kornish on Tuesday April 11, 2017 @05:44PM (#14092766)
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.
Re:TypeScript at Slack by ludicast on Tuesday April 11, 2017 @07:22PM (#14093400)
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.
Re:TypeScript at Slack by ludicast on Monday April 17, 2017 @07:22PM (#14135297)
I'll have to reexamine then. Last I saw the typings story wasn't well documented but would be beyond overjoyed to be wrong.
Re:TypeScript at Slack by abiox on Tuesday April 11, 2017 @07:33PM (#14093467)
or Fable, or PureScript, or Kotlin... :)
Re:TypeScript at Slack by Rapzid on Tuesday April 11, 2017 @08:09PM (#14093651)
Fable has such potential. F# is fantastic and I could totally get behind that as a TypeScript alternative under the right circumstances.