Explcitly Typed Self References
Viewing old version 586c019aaa7a17962ff93e9e5cd1f50ec1a502e2; 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’s what this is in aid of. It’s also clear that this feature is not in aid of productivity or clarity.
Last Updated 07/26/2009 at 02:42:54 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.