Category Archives: scala

Why I gave up Google App Engine for now

Google App Engine is nice. Cloud Computing is nice. But I’m giving up GAE for now, and bellow is why. I (re)started to play around with Google App Engine about one or two weeks ago. Of course I read a … Continue reading

Posted in java, scala, web development | Tagged , , , , , , , | 1 Comment

Simple Build Tool for Scala

Recently I started looking at some alternatives for increasing productivity when writing code and building systems in Scala. One option that is getting some attention is SBT – Simple Build Tool. In some ways, it is similar to Spring Roo. … Continue reading

Posted in scala | Tagged , , , , , , , | 1 Comment

DSL in Scala for Date Calculation

I’ve been attending a course about Java Architecture in Caelum these last weeks. In one of those Saturdays, the instructor mentioned a little bit about DSLs. Better yet, he gave us an example using Scala =) Now, the example was … Continue reading

Posted in scala | Tagged , , , , , , | 11 Comments

Scala Problem Number Two

Following with my take on the Scala 99 Problems that I started here, lets talk a little bit about the second one. Here is the problem definition, from the original page: P02 (*) Find the last but one element of … Continue reading

Posted in scala | Tagged , , , , | 1 Comment

Ninety-Nine Scala Problems

Listening to a few different podcasts (The Java Posse among them), I found out about Ninety-Nine Scala Problems. As the description on the site says, it is an adaptation of the original Ninety-Nine Prolog Problems. I find the idea very … Continue reading

Posted in scala | Tagged , , , , | 1 Comment

Scala Pattern Matching: the reason to fall in love with Scala

Scala has a lot of interesting features and, among them, one of the most interesting ones is Pattern Matching. If you still need a reason to try Scala this is the one. Actually, I might be exaggerating a little bit, … Continue reading

Posted in scala | Tagged , , , , , | 2 Comments

XML Handling in Scala

It is finally time to get back to Scala. In this post, lets cover briefly some of the support Scala has for handling XML data. This is impressive stuff, and more so if you are used to how complex this … Continue reading

Posted in scala | Tagged , , , , | Leave a comment

Quick introduction to functions in Scala

So, as you might already know, Scala is a functional language. This means that it is heavily based on functions (Scala actually mixes Object Orientation and Functional Programming). Lets take a look on how to use functions in Scala. It … Continue reading

Posted in scala | Tagged , , , , , , | Leave a comment

Base Scala classes

And I’m back! Last month was really busy. Among other things, I had to travel, both for business and a small vacation. But now I’m back. Uhu! Thank you all for reading! Now, back on topic. This time, I’ll cover … Continue reading

Posted in scala | Tagged , , , , , | 1 Comment

Import statements in Scala

One more baby step into Scala, in this second of a series of posts. Import statements. Scala’s import statements are very similar to Java’s, but with some small differences that allow you to write more concise code. Take a look … Continue reading

Posted in java, scala | Tagged , , , | 1 Comment