The JDK is the only source allowed to modify java.lang.String, so
they'd likely add static methods to that directly like String.join()
and the others. The plural name thing was more of an issue with an
interface Thing and utility class Things. As of Java 8, there's
typically no need to have a Things class because the Thing interface
can have static methods on it. For example, see all the static methods
added to Comparator that would have typically gone into a class named
Comparators (like Collector/Collectors).

On Tue, 4 Jun 2019 at 06:07, Xeno Amess <[email protected]> wrote:
>
> Then 10 years later JDK has its own Strings, and users get confused then.
>
> Emmanuel Bourg <[email protected]> 于2019年6月4日周二 下午6:58写道:
>
> > Le 28/05/2019 à 13:46, Gary Gregory a écrit :
> >
> > > Thoughts?
> >
> > Maybe we could make a more ambitious 'Strings' class with methods taken
> > from StringUtils and refactored with a fluent API to avoid the
> > combinatorial explosion of StringUtils? Just a wild idea.
> >
> > Emmanuel Bourg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >



-- 
Matt Sicker <[email protected]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to