Explcitly Typed Self References
Viewing old version 683f34fd01ffceb6626483f9a6bca8d791075da2; View Current
The Gist
Explicitly Typed Self References is, in my opinion, a psychological test to see who’s reading the Scala Tour.
My Interpretation
A free beer to whoever can explain this concept and why it matters.
My Thoughts on this Feature
So, we start with a convoluted description of a Graph, and then glop on loads of other Scala features until…what? Something breaks and we require arbitrary syntax to fix it? I honestly can’t figure this out at all.
However, the fact that we are required to indicate the type of something makes me think that this is one of those dark, nasty corners of static typing that its proponents don’t want you to know about until it’s too late. I’m not judging static typing, but it’s clear that this is in aid of giving info to the compiler, not the programmer.
Last Updated 07/31/2009 at 08:39:44 PM by davec
blog comments powered by Disqus
All Content by David Copeland is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.