Flag proposal

Nick Sabalausky a at a.a
Fri Jun 10 14:44:37 PDT 2011


"Lutger Blijdestijn" <lutger.blijdestijn at gmail.com> wrote in message 
news:isu365$2ao$1 at digitalmars.com...
> Andrej Mitrovic wrote:
>
>> On 6/10/11, Lutger Blijdestijn <lutger.blijdestijn at gmail.com> wrote:
>>> Changing a name will now break client code.
>>
>> The flag template suffers from the same issue.
>
> Not strictly, but practically yes. It's also the point of them, exposing
> this name in the api. But its *only* for those parameters, which I
> understand are right now just 7 functions in the whole of phobos.
>
> With named parameters, the issue affects every function, including those
> already written without this dependency issue in mind.

That's hardly an issue though. Updating callers to use a changed function 
name is trivial. I see no reason why this would be any less trivial.




More information about the Digitalmars-d mailing list