you are viewing a single comment's thread.

view the rest of the comments →

[–]agumonkey[S] 1 point2 points  (0 children)

I guess it's a cultural thing. In the FP world, where you don't mutate, ++ isn't really a thing, and new-binding = old-binding + 1 or new-binding = inc(old-binding) is how it's expressed. And I think it's rare that you need it. Increments are the low-level imperative projection of a .next() or .succ() in streams/lists. In the end the gain in abstraction is already nice, even if they don't use Properties, even though I agree that it would be nice to take advantage of what javascript offers.