About
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).
Disclaimer
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.
Categories
Archives
Art
Friends
ICT
java
Static pages
Author Archives: peter
Scala 2.9RC2 – applyDynamic
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
Stackable traits
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
Posted in scala
4 Comments
Scala shellscripts
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
Posted in scala
5 Comments
Selenium2 from Scalatest
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
Posted in scala, testing
2 Comments
Presentation: DSLs in Scala
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
Posted in scala
Leave a comment
Introduction to Scala
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
Posted in scala
Leave a comment
Back on Ubuntu / got a new job.
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
Posted in linux, ubuntu
4 Comments
ScotchBuilder with Scala 2.8
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
Posted in dsl, scala
2 Comments
external DSLs with scala
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
Posted in dsl, scala
3 Comments
Internal DSLs with Scala
I’ve been playing around with Scala again lately. Writing a (internal) DSL or a fluent api was still on todo-list. Instead of writing some arbitrary language for a made-up domain I decided to pick a language and a domain I … Continue reading
Posted in dsl, scala
6 Comments