Whoa, the Dotty extension method syntax has gotten all goofy:
def (c: Circle) circumference: Double
instead of the C# style
def circumference(this c: Circle) : Double
Why $50, though? Shouldn't it be free because it's uniform? And it's only a novelty in the context of Scala 2's existing syntax... ;)
-
-
I see the difficulty of parsing as related to regularity & simplicity of the rules, whereas you see it as related to call-site similarity. I think that's where we're diverging?
-
def (c: Circle).circumference
End of conversation
New conversation -
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.