A nice way to step into 2012

Mehrdad wfunction at hotmail.com
Thu Dec 29 06:16:56 PST 2011


On 12/29/2011 3:07 AM, Don wrote:
> sin(real x);
> sin(real theta);
>
> The argument name is *completely* irrelevant. That shouldn't be part 
> of the interface.
>
> I have a really really bad taste in my mouth from named arguments in COM.
Great example... I can totally think that 'x', 'theta', 't', 'angle', 
'radians', 'value', 'val', 'v', etc. could all be valid parameter names 
(some better than others, obviously).


More information about the Digitalmars-d mailing list