this is almost a workaround for the lack of named parameters

foobar foo at bar.com
Sat Mar 23 02:51:38 PDT 2013


On Friday, 22 March 2013 at 21:41:46 UTC, John Colvin wrote:
> On Friday, 22 March 2013 at 21:29:46 UTC, foobar wrote:
>> On Friday, 22 March 2013 at 21:10:27 UTC, John Colvin wrote:
>>> On Friday, 22 March 2013 at 20:04:14 UTC, foobar wrote:
>>
>>>> WTF? What do kwargs have to do with programming? Sounds more 
>>>> like a half-Klingon & half-Ferengi species to me.
>>>
>>> kwargs = keyword arguments
>>>
>>> It's a common naming convention in python, as exemplified in 
>>> matplotlib.
>>
>> That was meant more as a rhetorical question rather than a 
>> real one.
>> Yes, I guessed the meaning by the surrounding context but 
>> nevertheless it was a major WAT while skimming the post. Also, 
>> Who the fuck cares whats common in Python? I was reading and 
>> replying on the *D* NG, was I not?
>
> Kwarg seems a reasonable name, consistent with a pre-existing 
> convention. Please suggest a better alternative if you have 
> one. I must admit I'm bemused by your level of aggression over 
> what appears to be a trivial matter.

Your read it wrong. Not aggression but rather annoyment.
Also, code readability is NOT a trivial matter and people who 
think that it is should have their keyboard chopped off.

IMHO, I think the entire feature is a code smell and glad D does 
not support it. Code that needs named parameters to be more 
readable is poorly designed code in the first place.


More information about the Digitalmars-d mailing list