Interested in ML and AI? Check out my new AI & algorithm blog
Developer, Consultant, Founder
A Curse on Java Bitwise Operators!
A description & solution to a nasty bug I found in my code concerning the behavior of java bitwise operations on bytes.
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.