Bubble Foundry

Scala and Javascript

by Peter.

I’m really liking Scala and its premiere web framework, Lift, so if you’re interested in building web apps in a language that mixes functional and object-oriented paradigms well and does cool concurrency stuff, check them out.

As I’ve been really getting into Javascript this year, I’ve been seeing a lot of parallels between Scala’s functional features and the surprising amount of functional things you can do in Javascript as I learn Scala. My hope is to eventually supplement to the many excellent Scala tutorials for programmers coming from Java or Ruby with one geared towards Javascript programmers.

In the mean time, I’ve made porting Scala’s case classes to Javascript the first test of my ability to draw connections between the two languages. I’ve just started and you can follow the progress of caseclass.js on GitHub.