2 ms·
We shipped Dart 3.0 last week with support for switch expressions and complex pattern matching in switches. We also managed to get in quite sophisticated exhaus
by munificent 3y ago
We shipped Dart 3.0 last week with support for switch expressions and complex pattern matching in switches. We also managed to get in quite sophisticated exhaustiveness checking.
Whether you consider Dart a "mainstream" language is I guess an open question. :)
- ctvo 3y agoDart is the DSL for Flutter, right? (I'll check it out. Thanks for sharing!)
- valbaca 3y agoOther way around. Dart is a generic programming language. Flutter is the UI framework built with Dart. https://dart.dev/ https://dart.dev/ https://flutter.dev/ https://flutter.dev/
- ctvo 3y agoThe joke is Dart is only used with Flutter. It's a language to configure your Flutter application. It was not a genuine question. The genuine bits were in parentheses.
- klysm 3y agoI can’t tell if you are trying to roast dart or asking a genuine question
- JonChesterfield 3y agoThe documentation at https://dart.dev/language/patterns https://dart.dev/language/patterns is great, thanks