I am looking at Akka related typesafe activator code and the following construct intrigued me:
Companion object:
object MarkerActor {
sealed trait
Several years ago there was a discussion on whether to implicitly import all companion object members into their parent classes. The decision made at the time, which still makes sense today, was to require an explicit import, since it is easier to add an additional import than to remove an undesired one. Here is the full discussion.