3 ms·
I think this is a well written post, but I'm incredibly puzzled at eschewing scalas syntax for type parameters and instead having parentheses do double duty. Ot
by dw-im-here 6y ago
I think this is a well written post, but I'm incredibly puzzled at eschewing scalas syntax for type parameters and instead having parentheses do double duty. Other than freeing up brackets for indexing what is gained from this?
Other than that I actually think this is a language that deserves to exist so the ideas can be tried out in practice, if nothing else to influence the current OO languages to be better.
- acjohnson55 6y agoSquare brackets for type params is one of my favorite tiny details of Scala. Much easier on the eyes than angles, and since collections are explicitly indexes much less often, little is lost.