Developer, Consultant, Founder
Java Code compared to Scala Code (3) - Turning List<Foo> into List<Bar>
A short example of an everyday task that shows how useful lambda expressions and the “map” method are.
Java Code compared to Scala Code (2) - A Simple Class
Code for a simple class that represents a user. Once in Java and once in Scala.
henkelmann.eu now has categories :)
Java Code compared to Scala Code (1) - Magic Number Constants
An example of an everyday task in Java & Scala: Defining constants with Magic Numbers.
The Wheels on The Bus Go Round and Round...
A little bit of code that puzzled me today.
JUnit XML Listener Now With Support For Skipped Tests
Thanks to Johannes Rudolph, the JUnit XML Listener for sbt now also properly handles skipped tests.
Bit twiddling in Java: The Unsigned Right Shift Operator
A look at a simple use case for the esoteric but sometimes highly useful Unsigned Right Shift Operator.
An Introduction To Scala Parser Combinators - Part 3: Writing unit tests for parsers
In this part of my parser combinator series we will discuss how to write unit tests for parsers. We will use tests for our literal parsers from the previos lesson as an example.
An Introduction To Scala Parser Combinators - Part 2: Parsing Literal Expressions
The second part of my series on parser combinators introduces the first basic combinators and explains them in detail. They are used in developing the beginnings of an expression parser.
An Introduction To Scala Parser Combinators - Part 1: Parser Basics
An introduction into how Scala Parser Combinators work under the hood and how to write your own Parsers & Combinators. Takes a low level approach to present the inner workings of Parser Combinators.