The real complexity is when you add method M to collection C and expect that class A which does not have any relationship with C also gets the method.
It has been shown that it is possible in Scala, without all the unnecessary complexity shown in the authors post.
Still, I fail to see any statically typed language even coming close to what is requested from Scala.
The real complexity is when you add method M to collection C and expect that class A which does not have any relationship with C also gets the method.
It has been shown that it is possible in Scala, without all the unnecessary complexity shown in the authors post.
Still, I fail to see any statically typed language even coming close to what is requested from Scala.