Compile-safe builder pattern using phantom types
Phantom types? A very cool technique to create more robust code! We'll be looking at the traditional builder pattern in Java and how we can create a compile-safe version in Scala.
Phantom types? A very cool technique to create more robust code! We'll be looking at the traditional builder pattern in Java and how we can create a compile-safe version in Scala.