4 ms·
Good news. It’s about to land. One nice thing about Dart is that they are extremely transparent in how they design the language. You can check out the entire re
by mhoad 4y ago
Good news. It’s about to land. One nice thing about Dart is that they are extremely transparent in how they design the language. You can check out the entire repo here for an example of what I mean but if we are talking about these specific features this is a good place to start
Here is the intro:
https://github.com/dart-lang/language/blob/master/accepted/future-releases/0546-patterns/goals-and-constraints.md https://github.com/dart-lang/language/blob/master/accepted/f...
Here is the spec of what they are currently implementing:
https://github.com/dart-lang/language/blob/master/accepted/future-releases/0546-patterns/feature-specification.md https://github.com/dart-lang/language/blob/master/accepted/f...
I think they both serve as a really good example of the kind of thoughtful approaches the language team are known for which coming from some different language communities previously I wasn’t accustomed to.
- toastal 4y agoGood to hear. This could make Dart a compile target candidate for a number of languages whose ergonomics better match these concepts, while having good native support from the language.
- bmitc 4y agoThank you for the links! That's exciting, although I'm cautious since it wasn't built around pattern matching. I do know there is already some basic work on Fable having a Dart/Flutter backend, but I haven't used it.