Thinking about Recursion: How to Recursively Traverse JSON Objects and the Filesystem

photo 1527266237111 a4989d028b4b

I work primarily on application-level programs, so I tend to not use recursion very often. However, every now and then I need a function that is best solved recursively. It is important to be able to recognize when a problem is best solved recursively, and to be able to write it when the time comes. … Read more