On Wed, Sep 28, 2016 at 1:40 PM, Gilles <gil...@harfang.homelinux.org> wrote:
> If not, then random utilities are not best located in Commons Lang, > because indeed the no-dep requirement forces you to go through > "java.util.Random" which is bad (TM) for several reasons, mentioned > here, there, and everywhere. I agree that RNG could be removed from CL (Binary compatibility considerations left aside). However, rather than introducing unnecessary dependencies, one would instead use an RNG interface, with an ovious default implementation. In other words, if "Joe Average Random" (aka Gilles) wants to use Commons RNG, he's perfectly capable to do so. That's the way how you design low level libraries. Jochen -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org