Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

> If Eve didn't come along I wouldn't have believed you could program without loops.

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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: