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: <87edbestmg.fsf@bsb.me.uk> <_zSRN.161297$m4d.144795@fx43.iad> <20240411075825.30@kylheku.com> 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 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