3 ms·
That seems consistent with #3, I don't see how it's different. Operator or function, the name doesn't change anything?
by dataflow 2y ago
That seems consistent with #3, I don't see how it's different. Operator or function, the name doesn't change anything?
- o11c 2y agoOperators and functions are effectively the same thing, yeah. In CS we normally mean #4 though ... which can technically be thought of as a variation of #3 passing/returning "the whole universe" as an argument (and including the actual arguments in the implicit lambda capture), but thinking like that only makes sense for functional programmers.
- thelittleone 2y agoPassing the entire universe as an argument... dang... either that's deep conceptually, or I'm shallow, or both!
- GrantMoyer 2y agoThe wikipedia definition is directly equivalent to #1. Try rewriting it with f(a, b) = a ⋅ b. That's not to say #3 and #1 are unrelated, though.
- dataflow 2y agoWhere I've been lost is where the comment said "which is that there are several different (but related) things"... if they're equivalent then isn't this just making my point?