Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #386727

Re: Named arguments in C

Path csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <Keith.S.Thompson+u@gmail.com>
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> (permalink)
References <utgjh0$21nsq$2@dont-email.me> <uth66l$266da$1@dont-email.me> <uti83u$2ed01$4@dont-email.me> <utjhfn$2r0cr$1@dont-email.me> <v61bbh$1n9ij$1@dont-email.me> <pan$1e5a0$ef4a1faf$e6cedebc$3f30bac1@invalid.invalid> <v61lm8$1p1gs$1@dont-email.me>
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=
Xref csiph.com comp.lang.c:386727

Show key headers only | View raw


bart <bc@freeuk.com> 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 */

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Named arguments in C Ivan Farlenkov <yo_99@mail.ru> - 2024-07-02 21:53 +0500
  Re: Named arguments in C Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> - 2024-07-02 19:39 +0000
    Re: Named arguments in C Richard Harnden <richard.nospam@gmail.invalid> - 2024-07-02 20:44 +0100
      Re: Named arguments in C Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> - 2024-07-03 20:16 +0000
        Re: Named arguments in C Richard Harnden <richard.nospam@gmail.invalid> - 2024-07-04 09:59 +0100
          Re: Named arguments in C Kaz Kylheku <643-408-1753@kylheku.com> - 2024-07-04 09:25 +0000
    Re: Named arguments in C bart <bc@freeuk.com> - 2024-07-02 20:50 +0100
      Re: Named arguments in C Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-07-02 15:01 -0700
      Re: Named arguments in C Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> - 2024-07-03 20:42 +0000
        Re: Named arguments in C bart <bc@freeuk.com> - 2024-07-04 01:12 +0100
          Re: Named arguments in C Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-07-03 19:50 -0700
            Re: Named arguments in C Kaz Kylheku <643-408-1753@kylheku.com> - 2024-07-04 03:15 +0000
      Re: Named arguments in C Opus <ifonly@youknew.org> - 2024-07-04 11:45 +0200
  Re: Named arguments in C Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-07-03 00:17 +0000
  Re: Named arguments in C Bonita Montero <Bonita.Montero@gmail.com> - 2024-07-04 13:12 +0200
    Re: Named arguments in C Michael S <already5chosen@yahoo.com> - 2024-07-04 15:02 +0300
      Re: Named arguments in C Michael S <already5chosen@yahoo.com> - 2024-07-04 15:36 +0300
    Re: Named arguments in C bart <bc@freeuk.com> - 2024-07-04 13:49 +0100
      Re: Named arguments in C Bonita Montero <Bonita.Montero@gmail.com> - 2024-07-04 15:37 +0200
        Re: Named arguments in C Bonita Montero <Bonita.Montero@gmail.com> - 2024-07-04 15:38 +0200
        Re: Named arguments in C bart <bc@freeuk.com> - 2024-07-04 14:39 +0100
          Re: Named arguments in C Bonita Montero <Bonita.Montero@gmail.com> - 2024-07-04 15:46 +0200

csiph-web