> Sorry to bother you all with what you might consider trivia, but someone > in my course forum posted this statement: > > "I have never seen or heard of real uses of recursion except for proving > cleverness," > > so I thought I would ask you all if that is true. Is it really not used > in real world applications?
Any code which walks a tree is almost certainly going to be using recursion. This is everything from a chess game analyser, to image processing software, to your browser when it's rendering a web page and much more in-between. There's a very good reason why every single course in coding or any form of computer science is going to explain it to you at some stage in the course. It's used a lot, in a lot of places. S. This email and any attachment to it are confidential. Unless you are the intended recipient, you may not use, copy or disclose either the message or any information contained in the message. If you are not the intended recipient, you should delete this email and notify the sender immediately. Any views or opinions expressed in this email are those of the sender only, unless otherwise stated. All copyright in any Capita material in this email is reserved. All emails, incoming and outgoing, may be recorded by Capita and monitored for legitimate business purposes. Capita exclude all liability for any loss or damage arising or resulting from the receipt, use or transmission of this email to the fullest extent permitted by law. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor