Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS




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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: