I love that in Swift, data constructors are namespaced under their type constructor. So there's no naked `Some`, but `Option.Some`.
I think the risk is that it provides concise support for something you can already do, and costs one feature, and less syntax uniformity.
-
-
I made some comments about the issues with Dotty's enum design a while ago. Repeating well-known mistakes over and over–this lang is doomed.pic.twitter.com/l1apcbHALL
-
Thanks - that's a more constructive teardown, even though I don't agree with all of it. :)
- 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.