zlacker

[parent] [thread] 2 comments
1. morshu+(OP)[view] [source] 2025-12-04 21:10:59
Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS
replies(1): >>Alifat+jC1
2. Alifat+jC1[view] [source] 2025-12-05 10:20:34
>>morshu+(OP)
There 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
replies(1): >>morshu+Ec3
◧◩
3. morshu+Ec3[view] [source] [discussion] 2025-12-05 18:44:35
>>Alifat+jC1
That's my issue with this, I like the prototype system. It's very convenient for this kind of use case.
[go to top]