Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_greim_
on Sept 12, 2014
|
parent
|
context
|
favorite
| on:
This will make some people mad (JS/Dart)
Dart's operator overloading alone makes it easier to write clear and concise code than in JS, e.g. for map and list types.
// dart var listA = listB + listC; // js var listA = listB.concat(listC);
That's just the tip of the iceburg. Overriding the [] accessor for custom list types opens up whole worlds of possibilities.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: