Y
Hacker News
new
|
ask
|
show
|
jobs
by
morshu9001
194 days ago
Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS
1 comments
Alifatisk
193 days ago
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
link
morshu9001
193 days ago
That's my issue with this, I like the prototype system. It's very convenient for this kind of use case.
link