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

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
That's my issue with this, I like the prototype system. It's very convenient for this kind of use case.