[PYTHON MATRIX-SIG] Last complaints about NumPy 1.0a5

Fredrik Lundh fredrik_lundh@ivab.se
Wed, 23 Oct 1996 15:23:43 +0200


> binarysearch() should be called just search(), or find().
> The name of a function should not indicate the algorithm
> that is uses, however obvious the choice of the algorithm
> is.

To me, "binarysearch" implies that data must be sorted beforehand,
while a "search" function wouldn't bother about such issues (compare
bsearch and lsearch in the standard C library).

Maybe a better name, but not as generic as "search".

	/F (just an ordinary programmer)

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================