A lot people are unwilling to change to newer, better ways to do things. The old ways work, though at a potential cost of continuing maintenance, and learning to use newer methods is not worth the effort apparently.
Or they simply don't know, nor care, what's available.
Using the C libraries for generating random numbers when C++ has a vastly larger suite of tools available for example.
https://en.cppreference.com/w/cpp/numeric/random
https://www.learncpp.com/cpp-tutorial/introduction-to-random-number-generation/
https://web.archive.org/web/20180123103235/http://cpp.indi.frih.net/blog/2014/12/the-bell-has-tolled-for-rand/
https://open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3551.pdf
I followed the suggestions in that working group paper and created a simple header-only namespaced custom library I can include whenever I need trivial-use random numbers.
I recently expended a bit of brain juice to convert the .hpp header to a .cppm module interface file for my C++20 apps, a quickie 15 minute rewrite.
Legacy code will always be with us, just accept that. Adapting and updating has real world costs.
I am not a professional paid-to-program worker toiling on years old code bases. I am a self-taught hobbyist. Learning the new stuff C++ offers, and from time to time seeing how professional programmers do things fills me with awe and inspiration, is what keeps me plugging away.
I can afford to improve my knowledge and how-to-use-C++ since all the coding I do is for learning and personal enjoyment. None of it is "gonna make the company go bankrupt if the app isn't ready or is buggy" mission critical.