3 ms·
> nicest OOP That's the thing. Dart is useless for my preferred style of programming. A modern language without ADTs and pattern matching is not even meeting m
by toastal 4y ago
> nicest OOP
That's the thing. Dart is useless for my preferred style of programming. A modern language without ADTs and pattern matching is not even meeting my bare minimum for acceptable to use. Not just this, but the docs explicitly said the don't want these basic features.
- mhoad 4y agoThey are building pattern matching as we speak for what it’s worth. One of the main people designing it is in this thread talking about it.
- mhoad 4y agoThought this link might actually be more helpful by the way if you're interested but Dart team does all of their language design in the open on Github which is pretty cool and also gives you a lot of context about how things end up the way they do. I also mentioned elsewhere in the thread how impressed I was just watching that repo in general for a year. They clearly give a shit on a such a deep level about building a solid long term language in a way that I was totally unfamiliar with say coming from a Ruby background previously. Here is the section on pattern matching specifically https://github.com/dart-lang/language/tree/master/working/0546-patterns https://github.com/dart-lang/language/tree/master/working/05... and this is the design spec itself https://github.com/dart-lang/language/blob/master/working/0546-patterns/patterns-feature-specification.md https://github.com/dart-lang/language/blob/master/working/05...