"The moral is that you should not rely on the value of a val in the body of a constructor."
Oh Scala.
I'm still not won over by the OO.
-
-
And I'd say the early-initializers are obscure and unfamiliar... but I guess I accept them for what they are!
-
I can see what you mean about self-type. But now I read it as trait X where this (is a Y)/(has Z) and it doesn't trouble me. Also,
- Show replies
New conversation -
-
-
That was the intention ...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Well it can refer recursively to self—as is typical with objects (aka "open self-recursion" for academics).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Scala books make learning Scala worth it
Keepin it real 
