Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!news.mixmin.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-a.proxad.net!nnrp6-1.free.fr!not-for-mail Newsgroups: comp.os.linux.advocacy From: =?UTF-8?Q?St=C3=A9phane?= CARPENTIER Subject: Re: Why Python When There Is Perl? References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com> <17be75acfaf8f0f4$2017$3384359$802601b3@news.usenetexpress.com> <17bebbae334656b9$74345$2906873$802601b3@news.usenetexpress.com> Organization: Mulots' Killer User-Agent: slrn/pre1.0.4-9 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 24 Mar 2024 12:22:11 GMT Lines: 29 Message-ID: <66001af3$0$7526$426a74cc@news.free.fr> NNTP-Posting-Date: 24 Mar 2024 13:22:11 CET NNTP-Posting-Host: 78.201.248.7 X-Trace: 1711282931 news-3.free.fr 7526 78.201.248.7:41792 X-Complaints-To: abuse@proxad.net Bytes: 2361 Le 21-03-2024, Farley Flud a écrit : > > The classic example is recursion. In the abstract realm recursion > seems highly efficient and elegant. But such elegance has to ultimately > be translated into machine code and, at this level, recursion becomes > highly inefficient and even idiotic. As with everything you don't understand what you criticize. First, quicksort is considered by a lot of people as the most efficient algorithm to sort a table. It's recursive. So either you are the only one in the world believing the quicksort is bad, and so you are wrong in this belief, or you are wrong when you claim recursion is efficient. Well both way you are wrong. Now, before jumping on a bad example about recursion, start trying to find out a little bit more about recursion. Be sure the issue is not with your example but with recursion by itself. As I believe you've never heard of tail recursion, be sure you look at it before considering answering. Of course, you can find use cases in which recursion is a bad way. But before coming with it, be sure is an issue with recursion and not with your code. Of course, you do what you want. You'll be funnier if you come with a bad example: it's just a fair warning. -- Si vous avez du temps à perdre : https://scarpet42.gitlab.io