by akamel · 11y ago · 0 comments
I'm all for code-reuse and componentization but common... recursion is programming 101!
I say this because I was originally a self-taught programmer, and I hated recursion too. Once I went to school for a CS degree, I learned how awesome it really was, and now I use it all the damn time.
A recursive function makes me do all these convoluted mental gymnastics when I'm just trying to figure out if Cinderella lived happily ever after or not.
It's like comparing Star Wars to Inception.