deadshot_24's blog

By deadshot_24, history, 4 months ago, In English

Even with the new lesson and its patient teachings, I’m still totally bamboozled by recursion. I can sort of see what the code is attempting to do, but if you asked me to work out a problem from scratch with a blank page, I wouldn’t know where to start. Is recursion really something I need to know? Should I keep banging my head against walls of examples until I get it, or is it so rarely used in the real world that I can forget about it? It sounds like for just about everything I’d ever need, I could just use a ‘while’ loop, which I find infinitely easier to understand.

I ultimately want to program simple games. Is recursion used for such things? Like, ever?

If you’re a programmer and use recursion a lot, I’d love to know how and why!

Thanks!

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it