News for hackers. Stuff that matters.

lastrxa

Re:Making Python Less Random on Friday July 12, 2024 @06:17AM (#40944213)
To be fair to the OP, the implicitness in Python in general and the random seeding in particular is confusing, especially if 3rd party modules are involved.

In C++, if you use std::mt19937, everything from seeding to the explicit generator is crystal clear while being terse as well.