4 ms·
They 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.
by mhoad 4y ago
They 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...