News for hackers. Stuff that matters.
Re:Why is D3 so Verbose? by DanielHB on Thursday August 21, 2025 @10:32AM (#44973281)
what do you mean by "arrow operator"?
Re:Why is D3 so Verbose? by amiga386 on Thursday August 21, 2025 @10:55AM (#44973566)
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?

Re:Why is D3 so Verbose? by balamatom on Thursday August 21, 2025 @11:49AM (#44974266)
Bingo.
Re:Why is D3 so Verbose? by lionkor on Thursday August 21, 2025 @10:34AM (#44973309)
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.
Re:Why is D3 so Verbose? by DanielHB on Thursday August 21, 2025 @11:45AM (#44974227)
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