Polishing D - suggestions and comments
Christopher Wright
dhasenan at gmail.com
Sun Jan 27 05:33:01 PST 2008
Dan wrote:
> - Committed algorithms would need to solve some problem domain, and would not be trivially implemented with one-liners or other items in the library.
There's some value in having a standard way of solving something, even
trivial, if the problem appears often enough. Things like some array
operations, indexof for instance. And partitioning an array: a foreach
loop is the best you'll get, and efficient, but Tango still has a
partition function.
The criteria should be:
Does it save people time?
Does it make their code clearer?
Does it reduce the number of bugs in client code?
Maybe a few more things.
More information about the Digitalmars-d
mailing list