Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Null-aware operators and generalized tear-offs in Dart (dartlang.org)
3 points by daw___ on June 18, 2015 | hide | past | favorite | 3 comments


Newbie here. The "?" operator is the same used in Swift?. any difference?


Difference in that the: Swift lives and develops. Dart is trying to survive.

All that developers rejected not so long ago (as inadmissible), now they are trying to use for survival (calling them as a new and fresh ideas).

Survival is when the developers throw overboard everything unnecessary (Chrome Dart VM, Dart Editor, Web Platform) and grasping at all that falls under the arm (old new ideas).


>> Newbie here. The "?" operator is the same used in Swift?. any difference?

This is the same as "accessor variant of the existential operator ?." in Coffescript.

I think that this was in the Coffeescript initially but in Dart this feature (operator) will come after four years of his life (2011-2015) as a great achievement of all time.




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

Search: