4
Aug
2008
In the previous installment of this series, we looked at how Scala’s collections provide common mechanisms for iteration, as well as many higher-order operations in the same conceptual vein. In this, the third and final part of the series, we will examine some mechanisms for conceptually operating on the collection as a whole. Thus, rather […]
28
Jul
2008
As I hinted previously, this series is intended to delve into Scala’s extensive collections API and the many ways in which it can make your life easier. Probably the most important operations you could ever perform on collections are those which examine each element, one at a time. After all, what’s a more common array […]
21
Jul
2008
One of the most obvious things to a Java developer first coming into Scala-land is the radically different Collections API included as part of the standard library. For the most part, we use the same frameworks and APIs in Scala as are available in Java. This is natural, thanks to the extremely tight integration between […]
7
Jul
2008
Groovy has an interesting shortening of the ternary operator that it rather fancifully titles “the Elvis Operator“. This operator is hardly unique to Groovy - C# has had it since 2.0 in the form of the Null Coalescing Operator - but that doesn’t mean that it is not a language feature worth learning from. Surprisingly […]
23
Jun
2008
In recent years, we have seen a dramatic rise in the number of languages used in mainstream projects. In particular, languages which run on the JVM or CLR have become quite popular (probably because sane people hate dealing with x86 assembly). Naturally, such languages prefer to interoperate with other languages built on these core platforms, […]