Some more template syntax sugar

Derek Parnell derek at psyc.ward
Sat Sep 2 16:37:33 PDT 2006


On Sat, 02 Sep 2006 13:14:31 -0700, Walter Bright wrote:

> Reiner Pope wrote:
>> Thoughts, anyone?
> 
> 1) Lots of people like nameless parameters to implicitly document that 
> the parameter isn't used.

And lots of people like named parameters to explicitly document the meaning
of the parameters.
 
> 2) Nameless parameters come up an awful lot in C/C++ header files - I 
> think they're expected.

So what? This is D and not C/C++. If one is going to use a new language
then one should be prepared to learn a few new things too.

-- 
Derek Parnell
Melbourne, Australia
"Down with mediocrity!"



More information about the Digitalmars-d mailing list