Should we add drop to Phobos?
Marco Leise
Marco.Leise at gmx.de
Sun Aug 14 10:20:46 PDT 2011
Am 14.08.2011, 14:45 Uhr, schrieb Timon Gehr <timon.gehr at gmx.ch>:
> I'd argue that find should actually have been called dropUntil. It is
> not evident at all what find does, given the name alone. If it is called
> dropUntil, nobody ever needs to read the documentation, be it the guy
> who writes the code or the guy who has to read it. But as it is probably
> heavily used, it is not sensible renaming it now. (and all I have to do
> is define an alias :))
When I first came across find I expected it to find a single item.
dropUntil makes more sense to me, too.
More information about the Digitalmars-d
mailing list