Using Traits in Java 8
In one of my earlier articles I mentioned a programming component called “traits”. These constructs have existed for many years in other programming languages like Scala and PHP, but have only recently been available through default methods in Java. I...