Better HN
topnewbestaskshowjobs
Log inSign up

lastrxa

2 karma · joined Jul 12, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

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.