Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).
I am a very opinionated software engineer. Well I'm a very opinionated person in general. I work for eBay/Marktplaats.nl, but everything written here is my own crazy ideas and not my employer's. This text might have some similarities to the disclaimer found at fupeg.blogspot.com.
Author Archives: peter
During the previous Dutch Scala Enthusiasts (DUSE) meeting some people mentioned the fuss about the Dynamic trait. Since ‘method missing’ was one of the features I enjoyed in Ruby and Groovy I decided to dig around and create some examples. … Continue reading
Today I was playing around with some code to show people how Scala traits (more specifically stackable traits) make it much easier to decompose your ‘problem’ into generic and reusable building blocks. One of the issues we recently looked at … Continue reading
No, writing executable scala shell scripts is not rocket science. I know. I noticed however that people don’t often use scala in this fashion because it didn’t occur to them. Have a short look at the following utility I wrote … Continue reading
Scalatest offers some very elegant ways to layout your tests. After using Selenium2 at work I started thinking how I could leverage the BDD-like goodness in combination with Selenium2. The combination proves to be very useful. Some basics Selenium2 offers … Continue reading
At DuSe III I gave a presentation on writing Domain Specific Languages using Scala based on the work I did for my blogposts on internal and external with Scala. Domain Specific Languages In Scala Duse3 View more presentations from Peter … Continue reading
Last Tuesday I gave a ‘introduction to Scala’ presentation during the monthly ‘Tech Tuesday’ at Ebay/Marktplaats. After going through the slides I did some live test driven development. I think I managed to get some more people interested! Introduction To … Continue reading
Last week was my first week at my new employers office. At eBay / Marktplaats I’ll be working on the upcoming version of Marktplaats and various applications/services part of the platform around it. You can either bring your own hardware … Continue reading
While writing my internal SQL DSL example I stumbled upon this blogpost about a Type-safe Builder Pattern in Scala a couple of times. One of the issues I have with that code is the unnecessary use of mutable state in … Continue reading
Following up on my previous post on writing an internal SQL-like DSL for Scala I decided to bite the bullet and implement a ‘real’ parser for a subset of the SQL language to create the object tree from a SQL-like … Continue reading