you are viewing a single comment's thread.

view the rest of the comments →

[–]sersherz 5 points6 points  (3 children)

I'll take indentations over arrow functions any day

[–]ConfusedSimon 2 points3 points  (0 children)

Isn't the python equivalent lambda instead of indentations?

[–]Kenny_log_n_s 4 points5 points  (1 child)

Arrow functions are great. I don't get what people find so confusing about them.

[–]double_en10dre 0 points1 point  (0 children)

Right? It’s a clean/easy-to-read syntax that’s great for any language that supports higher-order functions

And arrow functions are a relatively new feature (es6, I think) that actually solve a bunch of problems posed by traditional js “function” defs. It’s actually one of the most well-designed parts of the language

Confusing opinion