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
I had some additional rationale that the definition can happily *look* different from what we're familiar with because it *is* something different from what we're familiar with.
-
-
I was actually in favour of replacing "apply" methods with `def (args): Type`, too.
-
Hmm, that's interesting. But again I can't fathom a world where a $50 syntax novelty is preferred to a $1 naming convention
- Show replies
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.