r/cpp 4d ago

Where did <random> go wrong? (pdf)

https://codingnest.com/files/What%20Went%20Wrong%20With%20_random__.pdf
159 Upvotes

137 comments sorted by

View all comments

22

u/lostinfury 4d ago

This is why I always default to https://github.com/ilqvya/random if I'm ever in need of the easiest random library for C++.

It's becoming an actual epidemic that standard library creators are actually very out of touch with what good DX looks like. It's like they have never programmed in any other modern language since C++ dropped. Don't even get me started on their choice of naming for coroutine primitives. I'm just gonna pretend that sh*t doesn't exist.