All posts tagged

Programming

Scala Companion Objects

It’s a very common approach to create new objects using factory methods in object-oriented programming as it is in Java.