Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
morshu9001
6mo ago
0 comments
Save
Share
Dart looks ok, but looking at the Dart equivalents of JS examples like {foo: 1}, I'd rather use JS
0 comments
2 comments · 1 top-level
top
newest
oldest
Alifatisk
6mo ago
· 1 in thread
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
morshu9001
OP
6mo ago
That's my issue with this, I like the prototype system. It's very convenient for this kind of use case.
j
/
k
navigate · click thread line to collapse