Hacker News new | ask | show | jobs
by coolsunglasses 4034 days ago
>I doubt that. Loops are way more intuitive than recursion.

Linked individual is my coauthor. She finds recursion far more intuitive than loops and mutation, so - don't doubt.

It's also easier to write recursion out on paper in a way that is faithful to the program semantics. Loops require tracking state off to the side.

Debating this point is useless. Operating a crane is not more natural than picking a pile of dirt up in your hands and carrying it. It's more efficient anyway.