4 ms·
Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS
by morshu9001 11mo ago
Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS
- Alifatisk 11mo agoThere is sadly no equivalent to {foo: 1} in Dart. This difference stems from Darts class based object model while JSs is, as you probably know, prototype based
- morshu9001 11mo agoThat's my issue with this, I like the prototype system. It's very convenient for this kind of use case.