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

what do you mean by "arrow operator"?


Probably a reference to Clojure's arrow operator:

https://blog.frankel.ch/learning-clojure/2/

Something like a(b(c(d(e(7)))))) in Javascript could be written (-> 7 e d c b a) in Clojure?


Bingo.


Maybe overloadable operators like in C++, where -> usually demotes some kind of deeper access into the object or abstraction? Or, the opposite, and abstracted access.


That is what I thought, but that doesn't make sense for a language without pointers

According to the other comment it seems he meant the |> pipe operator that is under proposal in js




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

Search: