Comment on Eve: Programming designed for humansparentComments−kbd8yIf Eve didn't come along I wouldn't have believed you could program without loops.What's he referring to here?−RubenSandwich8yEve doesn't have loops, because the basic unit isn't a variable but a set of variables. So a computation is applied to every element in a value.e.g.x = [1, 2, 3]x + 2// x = [3, 4, 5]I have since learned that APL does something similar, expect their basic unit is an array.
Comments
What's he referring to here?
Eve doesn't have loops, because the basic unit isn't a variable but a set of variables. So a computation is applied to every element in a value.
e.g.
x = [1, 2, 3]
x + 2
// x = [3, 4, 5]
I have since learned that APL does something similar, expect their basic unit is an array.