News for hackers. Stuff that matters.
Re:Heard of Idempotency but unsure what it is? by o11c on Monday June 10, 2024 @06:56PM (#40640225)
Operators 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.

Re:Heard of Idempotency but unsure what it is? by thelittleone on Monday June 10, 2024 @07:20PM (#40640438)
Passing the entire universe as an argument... dang... either that's deep conceptually, or I'm shallow, or both!