How to search for an element in the array. D2 phobos.

bearophile bearophileHUGS at lycos.com
Sun Jul 12 15:56:39 PDT 2009


Eldar Insafutdinov:
> I think I completely misunderstood how to use it.

Yes, it's too much complex. It tries to do many different things in the most efficient way possible, the result is a high complexity in usage. That's one of the faults of Andrei's code, it's not tested by letting  average coders use it.
A solution for this problem is to offer simple functions (like you can find in Tango. In my dlibs the situation is intermediate, I think) with a simple API for the most common purposes.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list