[HN Gopher] Dart 3.3
___________________________________________________________________
Dart 3.3
Author : markdog12
Score : 16 points
Date : 2024-02-15 20:19 UTC (2 hours ago)
(HTM) web link (medium.com)
(TXT) w3m dump (medium.com)
| irq-1 wrote:
| https://pub.dev/packages/web
|
| > This package exposes browser APIs. It's generated from the Web
| IDL definitions and uses recent Dart language features for zero-
| overhead bindings.
|
| Dart doesn't get the respect it deserves.
| Alifatisk wrote:
| Oh, the package is apparently supposed to replace dart:html
| chipweinberger wrote:
| > Dart doesn't get the respect it deserves.
|
| For sure. Its only real use case is Flutter right now.
|
| If Dart decided to expand things would get interesting.
|
| That said, I really enjoy its focus on Flutter.
| chipweinberger wrote:
| The improved Web interop looks really nice.
|
| Dart is evolving so quickly!
| Alifatisk wrote:
| The extension type was a bit alien to me, so it's a type with
| functions in it?
|
| Also, any plans on union types? There is like no way to tell Dart
| when something can either by type A or type B.
|
| I believe pattern matching is the only way at the moment.
___________________________________________________________________
(page generated 2024-02-15 23:01 UTC)