Subj : Re: Are recursive functions ever needed? To : comp.programming From : Thomas G. Marshall Date : Mon Oct 03 2005 04:43 am Mabden coughed up: > "Tatu Portin" wrote in message > news:S6v%e.208$nZ1.35@read3.inet.fi... >> Are recursive functions ever needed, i.e. cannot you just replace >> them with iterative clauses? >> >> Example: >> >> b = func (func (func (a))) >> >> compared to: >> >> b = a; >> for (i = 0; i < 3; i++) >> { >> b = func (b); >> } > > Ah. Homework or a Troll. I don't particularly any evidence of either. > Why think, when you can ask others to think > for you?! The problem with this is that you can apply it to /any/ question asked in usenet, which of course is silly. ....[rip]... -- Having a dog that is a purebred does not qualify it for breeding. Dogs need to have several generations of clearances for various illnesses before being bred. If you are breeding dogs without taking care as to the genetic quality of the dog (again, being purebred is *not* enough), you are what is known as a "backyard breeder" and are part of the problem. Most of the congenital problems of present day dogs are traceable directly to backyard breeding. Spay or neuter your pet responsibly, and don't just think that you're somehow the exception and can breed a dog without taking the care described. .