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
-
-
Anyway, I have to teach this new syntax in a couple of weeks, so it's useful for me to get exposure to other people's responses to seeing it! :)
-
Being familiar with extension methods but not following dotty development closely, I have to say that it does make sense to me, I’m also not familiar with C# syntax which seem ambiguous and I wonder about the meaning of “this” and if it goes before each parameter or just the 1st
- Show replies
New conversation -
-
-
-
A fantastic day for table tennis!

- 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.
