Re:Is Lisp still useful in today's world? (2011)
by betterunix on Thursday February 21, 2013 @01:13PM
(#5258972)
Personally, I find that traversing data structures recursively is more straightforward than iterative approaches, at least for most of the data structures I deal with. This sort of thing, for example:
I write this sort of code all the time for more complicated structures; iterative solutions would involve keeping track of a bunch of local variables, which only makes the code more difficult to deal with.
[ Parent
| on HN ]
Re:Is Lisp still useful in today's world? (2011)
by baddox on Thursday February 21, 2013 @01:50PM
(#5259250)
The Little Schemer is the book that got me thinking about data structures recursively (starting with linked lists), and that was later furthered by SICP.
http://www.amazon.com/Little-Schemer-Daniel-P-Friedman/dp/02...