Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
morshu9001
10 days ago
|
parent
|
context
|
favorite
| on:
It’s time to free JavaScript (2024)
Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS
Alifatisk
9 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
reply
morshu9001
9 days ago
|
parent
[–]
That's my issue with this, I like the prototype system. It's very convenient for this kind of use case.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: