Tag Archives: java

How to write a desktop / standalone application in Scala?

An student asked this question to me a while ago, and I figured it might be valid for other people starting with Scala as well. So I’ll try to give general directions in this post. The idea is not to … Continue reading

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

Defensive object copies in java and how scala avoids it

In one word: immutability. But read on for the whole history =) In another, old post, I wrote about the usage a primitive long value instead of Date objects in attributes. This kind of thing is usually called defensive copy, … Continue reading

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

TDC 2012 and Scala

From 4th to 8th July this year we will have the TDC conference in São Paulo. Although we are already very close to the event date, the call for papers is still open, so please submit something. Of special interested … Continue reading

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

Slides from my Akka presentation at Just Java 2012

I just uploaded the slides from the Akka presentation I did at Just Java 2012. You can find them here. The slides are in portuguese because the audience were brazilians, of course 😉 By the way, the conference was really … Continue reading

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

Akka at Just Java 2012 in São Paulo

This weekend, 18th and 19th of May, will hold the Just Java 2012 conference down here in São Paulo, Brazil. If you are in the area, please drop by. This year, I’ll give a presentation about Akka 2.0 – mainly … Continue reading

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

The Developers Conference 2011

From July 6 to 10 happened The Developers Conference 2011 down here in São Paulo. The other editions were really good and, better, this one topped all of them. It was a really fun and productive event. I had the … Continue reading

Posted in java | Tagged , , , , , , , , | 3 Comments

Scala Problem Number Five

From the Scala 99 Problems, the problem number five goes like this: P05 (*) Reverse a list. Example: scala> reverse(List(1, 1, 2, 3, 5, 8)) res0: List[Int] = List(8, 5, 3, 2, 1, 1) Starting with the obvious solution, using … Continue reading

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

About nulls and System Properties in Scala

In Scala, it is usually a good idea to avoid nulls in your code. Instead of that, it is recommended that you use the Option class. This is how it works: if the value you are working with is null, … Continue reading

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

Migrating a java project to scala

Hi everybody! This time I wanted to bring something different about scala – so I decided to migrate a java project to this language. The chosen one is an open source test framework for the Web Objects framework (sorry for … Continue reading

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

Just Java 2011

Hi! Its been a long time since I last posted about an event. So, to recover from the sadness, lets talk about Just Java 2011, a Java event that happened this last weekend here in São Paulo. The event consisted … Continue reading

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