Y
Hacker News
new
|
ask
|
show
|
jobs
by
zachrose
1426 days ago
A list and an index creates the possibility that the index is out of bounds, and then your code probably has to check for that scenario and figure out how to handle it.
With a zipper such a scenario isn’t possible.