Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: Recursion, Yo Date: Fri, 12 Apr 2024 16:38:33 +0100 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <87edbestmg.fsf@bsb.me.uk> <_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 12 Apr 2024 17:38:35 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b4e55c9728b3282b5449551fe3e50c2b"; logging-data="2566881"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FqUb8FGdSk9Ju8ItTiHL+" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:fAd1E1cXRVcifGLNi4f/EQkIGmQ= In-Reply-To: Content-Language: en-GB Bytes: 2208 On 12/04/2024 14:07, Janis Papanagnou wrote: > On 12.04.2024 11:38, bart wrote: >> >> I used to allow 'func' to call a function with no args. Later I switched >> to using func() as being more informative, since just: >> >> func > > I wasn't aware that C allows that. (Or are you talking about your own > language(s) here?) In my language I used to allow 'func' for a function call with no args until I decided to require 'func()'. >> >> doesn't impart very much. Maybe it's a function call; maybe it's a goto >> to label 'func' (as I still allow); maybe it's a macro invocation; maybe >> it's just evaluating a variable 'func' then discarding the value.