Feature to get or add value to an associative array.
user1234
user1234 at 12.nl
Mon Apr 16 20:34:34 UTC 2018
On Sunday, 15 April 2018 at 22:55:41 UTC, Giles Bathgate wrote:
> On Sunday, 15 April 2018 at 22:52:47 UTC, Giles Bathgate wrote:
>> I am proposing a new function called getOrAdd in
>
> I posted details of the PR here because at least 2 people do
> not like the name getOrAdd (and one of those people being
> myself)
>
> Time for a bikeshed discussion...
It's hard to name... I cant find better than "valueOrDefault"
More information about the Digitalmars-d
mailing list