begin quoting Christopher Smith as of Fri, Jan 25, 2008 at 11:08:20AM -0800: > SJS wrote: > > begin quoting Christopher Smith as of Fri, Jan 25, 2008 at 10:34:41AM > > -0800: > > > >> Recursion doesn't require mutating variables, which allows you to do > >> iteration without mutating variables. Once you have ways of doing things > >> without mutating state, you discover a whole world of possibilities, not > >> the least of which is fewer bugs, implicit parallelism, easily provable > >> outcomes, etc.. > >> > > Yah, the junior programmer using recursion can't get the code to run, which > > is one bug > > That's not a bug. It's a feature! :-)
Heh. > > And when it comes to code, there's nothing "easily provable". That's > > just mathematician-speak for "I told me thesis student to do it." > > Yes. I misspoke. I should have said, "more easily provable outcomes". It > is still non-trivial. I'd buy that. -- When coding, sometimes I reach for a programmatic loop -- Other times recursion gets it done in one fell swoop! Stewart Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
