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 connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <uv2u2a$41j5$1@dont-email.me>
Deutsch   English   Français   Italiano  
<uv2u2a$41j5$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Tue, 9 Apr 2024 10:25:46 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uv2u2a$41j5$1@dont-email.me>
References: <uut24f$2icpb$1@dont-email.me> <uutqd2$bhl0$1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 09 Apr 2024 08:25:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e5402271be07e4c30967281c98e603b9";
	logging-data="132709"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19QOFKahbPeMV5nMki7N8Kt"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:KD20qhSJu0RiCYJxjNPDWXB7iPA=
In-Reply-To: <uutqd2$bhl0$1@i2pn2.org>
X-Enigmail-Draft-Status: N1110
Bytes: 1892

On 07.04.2024 11:52, fir wrote:
>>
> okay, there are some class of things that suit good for recursion - and
> its probably good to spot whose they are

All iterations. (So, basically all code we typically write with 'for'
and 'while' loops.) For example. Plus all the things where emulation
with non-recursive means is cumbersome and complex. (Like operating
on recursive data structures like trees.)

Actually, you can formally derive the iterative constructs from [a
subset of] the recursive ones (by introducing variables and loops).

It makes a difference where one comes from. If folks learned coding
from imperative languages they have more problems with a functional
view (and also with recursion, it seems). Here, with "C", we're more
used to 'while' loops and variables, I think.

Janis