Deutsch   English   Français   Italiano  
<ususdk$1bqk1$1@solani.org>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Fri, 12 Apr 2024 03:51:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <20240411204846.381@kylheku.com>
References: <uut24f$2icpb$1@dont-email.me> <uutqd2$bhl0$1@i2pn2.org>
 <uv2u2a$41j5$1@dont-email.me> <87edbestmg.fsf@bsb.me.uk>
 <uv4r9e$mdd3$1@dont-email.me> <uv5e3l$q885$1@dont-email.me>
 <uv5gfd$qum1$1@dont-email.me> <uv5lgl$s6uj$1@dont-email.me>
 <uv61f6$v1jm$1@dont-email.me> <uv68ok$11080$1@dont-email.me>
 <uv7a8n$18qf8$3@dont-email.me> <uv867l$1j8l6$1@dont-email.me>
 <_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com>
 <r8TRN.114606$Wbff.54968@fx37.iad> <uva6ep$24ji7$1@dont-email.me>
Injection-Date: Fri, 12 Apr 2024 05:51:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="86fea6ac8f9f905f0c8aab17577ad408";
	logging-data="2275109"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18C4QD4X1HAzs7hOxgZX3OMRQkEfsltR5M="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:GZcn97cfSrqLoXaUFHtIbAa7cNY=
Bytes: 2125

On 2024-04-12, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Thu, 11 Apr 2024 15:15:35 GMT, Scott Lurndal wrote:
>
>> As someone who cut his teeth on
>> Unix V6, an empty parameter list is less self-documenting than an
>> explicit (void).
>
> Should that apply when calling the function as well?

Scott is getting burned by the current resident imbecile,
how embarrassing.

>     res = func(void);
>
> instead of
>
>     res = func();

Well, according to the eccentric coding conventions followed by your
team of one, indeed, yes; shouldn't it be:

      res = func(/* void */);

No, wait:

      res = func(
         /* void = nothing */
      ); /* func( */

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca