Live data from Hacker News

Announcing Scala.js v0.1

scala-lang.org

1–10 of 90 posts

Re: Announcing Scala.js v0.1

#4
This is a game changer. I've used it over the last few 3 or 4 months, and it is really stable and usable. I am betting an entire (although academic) project on it: http://proofpeer.net (note that Clojure is mentioned there as a language of choice, but I switched to Scala since then as Scala provides a similar level of conciseness with all the goodies of a powerful static type system with support for both Java and Javascript).

Re: Announcing Scala.js v0.1

#5
post #2

I wonder how complicated it is to parse JSON in Scala.js. It's pretty involved in regular Scala and incredibly easy in JavaScript, so what's it like in Scala.js?

Parsing JSON in Scala is very easy with lift-json: https://github.com/lift/lift/tree/master/framework/lift-base...

Re: Announcing Scala.js v0.1

#6
post #2

I wonder how complicated it is to parse JSON in Scala.js. It's pretty involved in regular Scala and incredibly easy in JavaScript, so what's it like in Scala.js?

You can just use the Javascript Api's for that. So the answer would be incredibly easy.

Re: Announcing Scala.js v0.1

#7
Fun stuff, but again, doesn't come with any tools. Microsoft Typescript is much better on that matter.

What javascript universe needs right now is not some more of syntactic sugar clusterfuck followed by debugging nightmare, but real tools, static code analysis. I don't want to waste my precious time dealing with closure compiler+scala something combo. It's fun from programmers POV, but still it won't make me pay my bills!

reality check, please

Re: Announcing Scala.js v0.1

#8

Fun stuff, but again, doesn't come with any tools. Microsoft Typescript is much better on that matter. What javascript universe needs right now is not some more of syntactic sugar clusterfuck followed by debugging nightmare, but real tools, static code analysis. I don't want to waste my precious time dealing with closure compiler+scala something combo. It's fun from programmers POV, but still it won't make me pay my…

Have you looked into the tools and amenability of Scala to static analysis and found them lacking?

Also, it seems a bit odd to call Scala "syntactic sugar". It's a pretty unique language in its own right.

Re: Announcing Scala.js v0.1

#9
post #5
post #2

I wonder how complicated it is to parse JSON in Scala.js. It's pretty involved in regular Scala and incredibly easy in JavaScript, so what's it like in Scala.js?

Parsing JSON in Scala is very easy with lift-json: https://github.com/lift/lift/tree/master/framework/lift-base...

Is this supposed to be ironic? Considering JSON.parse( {a: "B"} )
Post reply on HN