Message284686
> > why have an ignored parameter that is not plainly documented as ignored.
> Because it improves the substitutability of one RNG for another (i.e. the same reason that we even have a seed() method).
I understand why it the parameter it there. I think the parameter should stay there. I am all for orthogonal functions. It just needs to be documented that the parameter is ignored by SystemRandom().
Programmers are being misled by the online documentation and adding a seed parameter when it does nothing.
I should not have to read the library code to find out that a parameter is ignored. |
|
Date |
User |
Action |
Args |
2017-01-05 01:43:53 | gem | set | recipients:
+ gem, rhettinger |
2017-01-05 01:43:53 | gem | set | messageid: <1483580633.79.0.18437653468.issue29161@psf.upfronthosting.co.za> |
2017-01-05 01:43:53 | gem | link | issue29161 messages |
2017-01-05 01:43:53 | gem | create | |
|