Named parameters

From: Adam Ruth (owski_at_hotmail.com)
Date: 10/30/03


Date: 29 Oct 2003 19:35:21 -0800

Hello,

Has there ever been any talk to adding named parameters to C? I enjoy
using them in my Python and Ada code and can see their usefulness in
C. I can envision an implementation where the naming would be based
upon a prototype and the parameter ordering could be worked out before
the linking phase (thus, no need to deal with changing a linker).

Just curious. I've done some googling and can't find any references,
but it is a bit of an obscure topic.

Thanks for the info,

Adam Ruth



Relevant Pages

  • Re: Named parameters
    ... > Has there ever been any talk to adding named parameters to C? ... > using them in my Python and Ada code and can see their usefulness in ... where the topic is the C language as it actually is. ...
    (comp.lang.c)
  • Re: A comparison by example of keyword argument styles
    ... So if I have default values on both positional and named parameters, ... positional parameters in my api and which one's I already locked. ... If you said filter and texture as the named parameters, ... Let's see how a python guy would solve this issue... ...
    (comp.lang.ruby)
  • Re: Named parameters
    ... > Has there ever been any talk to adding named parameters to C? ... > using them in my Python and Ada code and can see their usefulness in ... > upon a prototype and the parameter ordering could be worked out before ... void foo(int bar, int baz, int quux); ...
    (comp.lang.c)
  • Re: Getting into Python, comming from Perl.
    ... get myself many times needing to figure out how to loop through a list, declare an associative array, checking how to pass named parameters to functions, and simple things like that. ... When I started using Python, I did this for strings, regular expressions and the os and os.path modules. ...
    (comp.lang.python)