Hacker News new | ask | show | jobs
by jdeaton 409 days ago
Its called recursion

> Doesn't for_tree(...) look a lot nicer and simpler and less error prone than needing to implement a recursive function for each operation you would want to do on a tree?

No it does not