Skip to content

Comment on Eve: Programming designed for humansparent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.