Many projects need a set of various utilities. There is some discussion about where to place them. But what happens if the utility becomes part of the standard?
For example, C++ kept adding to the standard many useful functions. For example, std::clamp
, or the random number generators. Many projects needed that functionality, and was relying on a different library or wrote those functions themselves.
Is it worth the effort to try and move towards the standard?
This might reduce the number of dependencies, simplify and standardize the codebase. And might be easy to do in some cases (such as the simple std::clamp
example). But might be at the same time a large change, which might lead to conflicts, time lost debugging some issues, finding ways to mitigate the differences, and so on.
The same question also applies if some functionality, previously handwritten, gets added to a library (e.g. boost), which is also used in the project.