Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Named arguments in C Date: Tue, 02 Jul 2024 15:01:57 -0700 Organization: None to speak of Lines: 15 Message-ID: <87h6d7wizu.fsf@nosuchdomain.example.com> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 03 Jul 2024 00:01:58 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ebf0d30fa994b460063036c7c0e268b4"; logging-data="1903434"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y+lBU9IKbXqw2CHLwn86a" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:BhgtXf4YEjS6LEdyQEZA7ThRAJw= sha1:Bgyg8fOBZGtQZK7XCuKw7vz4F1s= Bytes: 1651 bart writes: [...] > This addresses a small part of it. Named parameters allow arguments to > be omitted, and that requires also default values to be defined. Probably, but not necessarily. The languages I'm familiar with that support named parameters also support default values, but a language could easily have one without the other. (I'm not saying that would be a good idea.) [...] -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */