Posts

Showing posts with the label ruby-on-rails

Recursion in the REAL WORLD

This was so unusual and exciting in a programmer-geek sort of way that I felt driven to blog about it. Today, for the first time in decade as a software engineer, I have actually used recursion in my work. It was in a Ruby on Rails model, to find all the descendants and parents of an object (there are no cycles in these relationships, so this works). And it was awesome. That's all. Just had to share that. ;)