3 ms·
> There is a certain pleasing physicality to function notion, in the sense that empty parens make a circle into which you put things. () -> (1). Look, I put a 1
by thaumasiotes 11y ago
> There is a certain pleasing physicality to function notion, in the sense that empty parens make a circle into which you put things. () -> (1). Look, I put a 1 in there!
This gets dropped as you go further in math, though. Take the function that reflects across the x,y plane, f(x,y,z) = (x,y,-z). Interpreting the notation your way, you'd want to write f((x,y,z)) = (x,y,-z), but that isn't done.
- taeric 11y agoDoesn't matter. Often affordances are only relevant to get you thinking at the start. Once a concept is fully established, the affordance no longer matters. Consider the use of a disk to indicate that something can be saved. The fact that you no longer save to disk is ultimately irrelevant.
- javajosh 11y agoI didn't talk about how to implement (or represent) the body of the function! And besides, Church seemed to like single arguments, so actually he would write something like that. :) Physicists wouldn't (my degree is in physics). Programmers would write f(x,y,z){return {x,y,-z};}. But actually, I would say that this is nasty because of asymmetry - it can't consume it's own output. f(p){return {p.x,p.y,-p.z}} where p = {x,y,z}