Scala Nugget – Pattern matching and Lists
I was whining recently about how my scala-code is java in poor disguise. I started reading the scala by example pdf that also comes with the scala installation. I just read some interesting things...
View ArticleMaking SWT shine with Scala
At Agile 2008 I was calmly coding together with Daniel Brolund in the open space area. We were interrupted by a guy that asked us if we did any coding in Ruby and if we did he will hold a...
View ArticleDrying up widget creation
I continue to be amazed how Scala lets me keep my code DRY (if I care to do it the tools are there, I just need to look for them). One of the reasons that Scala allows this more than Java is that Scala...
View ArticleBuy me a Beer :)
/* * The file is licenced under Revision 42 of the Beerware Licence. * <joakim.ohlrogge[at]agical.com> wrote this file. As long as you retain this * notice you can do whatever you want with this...
View ArticleMore Scala and SWT
In general when you have a good idea you’re not alone. I started getting traffic from another blog. Dave Orme has developed an interesting framework: XScalaWT. According to the acknowledgements in his...
View ArticleDo you dampen or amplify?
Today I rediscovered a thought I had months ago and forgot about. I was talking to a team-member about software development in general and frameworks and processes in particular. What I’m about to...
View ArticleLoggingtools in Scala
UPDATE: As John pointed out in the comments the trait did not really work as expected. I updated it with the code I actually have in my project. How I ended up posting a different thing on my blog I...
View ArticleThere are no best practices
Last week I had a good retweet day. As always when that happens, I said something cocky and over-simplified. I blame 140 characters; the perfect excuse to simplify things to become more edgy. This time...
View ArticleWhy I don’t like Maven
More than two months ago I tweeted something like “As if this day didn’t already suck Maven 3 was released”. I got a reply from @kirean73 “Mind sharing your experiences with Maven?”. Fair question. As...
View ArticlePoju4s – an attempt to make JUnit a bit more Scala friendly
Recently I felt like going back to basics of testing in Scala. There are some fine testing frameworks for Scala that I recommend that you use. Never the less I started thinking about what it would be...
View Article
More Pages to Explore .....