Skip to content

Category Archives: Scala

Scala for Java Refugees Part 3: Methods and Statics

21
Jan
2008

In this series, we’ve already laid the foundations for Scala’s syntax as well as gotten a feel for how some of its object-oriented constructs work.  We haven’t really looked at any of these subjects in-depth however.  Most of our effort has been focused on high-level, flash bang overviews that just get you tasting your way [...]

The Benefits of Type Inference

16
Jan
2008

There’s been some complaining around the blogosphere about the use of Scala’s type inference mechanism, how it makes it difficult to know what type you’re dealing with since the only explicit declaration of type could be several steps up the call stack.  This is true.  What is also true (and really more important) is that [...]

Scala for Java Refugees Part 2: Basic OOP

14
Jan
2008

In the previous installment, we looked at the basics of Scala syntax and provided some simple conceptual explanations.  Obviously there’s a lot more to this language than what I was able to present in a single (albeit very long) article.  In this post we’re going to examine Scala’s object oriented constructs (classes, objects, methods, etc) [...]

Quick Explanation of Scala’s (_+_) Syntax

9
Jan
2008

It seems every time I turn around, someone else is railing against Scala for having an enormously cryptic syntax, citing (_+_) as an example.  Aside from fact that it looks like an upside-down face, I think this little construct is probably catching more flack than it deserves.  To start with, let’s get a bit of [...]

Scala for Java Refugees Part 1: main(String[])

7
Jan
2008

This article is also available in Spanish and Bulgarian.
You know who you are.  You’re the developer who picked up Java years ago, maybe as a second language and better alternative to C++, maybe as your first language coming into the industry.  You’re comfortable with Java, you know its ins and outs, its moods.  It’s like [...]