[Numpy-discussion] making "low" optional in numpy.randint

G Young gfyoung17 at gmail.com
Wed Feb 17 15:58:47 EST 2016


I sense that this issue is now becoming more of "randint has become too
complicated"  I suppose we could always "add" more functions that present
simpler interfaces, though if you really do want simple, there's always
Python's random library you can use.

On Wed, Feb 17, 2016 at 8:48 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Wed, Feb 17, 2016 at 8:43 PM, G Young <gfyoung17 at gmail.com> wrote:
>
> > Josef: I don't think we are making people think more.  They're all
> keyword arguments, so if you don't want to think about them, then you leave
> them as the defaults, and everyone is happy.
>
> I believe that Josef has the code's reader in mind, not the code's writer.
> As a reader of other people's code (and I count 6-months-ago-me as one such
> "other people"), I am sure to eventually encounter all of the different
> variants, so I will need to know all of them.
>
> --
> Robert Kern
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160217/0ff177f6/attachment.html>


More information about the NumPy-Discussion mailing list