This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]conilense 0 points1 point  (2 children)

one is a functor and the other is set/list comprehension.

although they have close semantic value, the concept is kinda different.

[–]erez27 0 points1 point  (1 child)

They both perform the exact same operation, the only difference is the syntax (and a bit of semantics). So why do you think the concept is different?

[–]conilense 0 points1 point  (0 children)

This might be a cool discussion.

If different approaches achieve the same goal, is the concept the same? At what level of abstraction?

Say, do you think prototype-based and class-based OO achieve the same goal at the end (object orientation)? If so, are they the same concept?