Follow

Whenever I use recursion I feel like some kind of powerful code god.

@big_chip Whenever I use recursion it fails in new and wacky ways I never could have expected.

@StaticallyTypedRice @big_chip Interesting. I use recursion quite a bit but I try to do things in one pass if possible. What troubles have you been having?

@Lofenyy @big_chip Most of my adventures in recursion came from one CS class that made me hate programming languages without loops. Mind you, I've never encountered recursion before.

@StaticallyTypedRice @big_chip I'm pretty sure it uses ordinary program flow controls like while and for, so yes but I don't know Rust personally.

@big_chip "I don't know what I'm doing but at least I look cool doing it!"

@big_chip I know that feeling. I wrote a nasty recursive function to traverse a python dictionary of unknown depth. Its beautiful and horrible at the same time. My coworker told me he was worried about running out of memory on the stack. I shrugged my shoulders and said "it works".

Sign in to participate in the conversation
Board Games Social

Join others in a free (libre!) and user supported social network for board gamers and the games they love.