Java 12 - CAFE BABE 0000 0038
String#trasform - is it really needed?
Raw String Literals leftover
Sources: https://www.mail-archive.com/
[email protected]/msg54609.html
The mailing list of the core-libs-dev team (JDK) hosted some interesting
debates about this feature. Not all the developers were happy with the
new method, between the doubts:
●the name: some developers were not happy with the choice and how
it has been announced (map, process, apply were between the
options), the name could not fit with Stream and other objects
●the chain method could be a better solution
https://bugs.openjdk.java.net/browse/JDK-8140283
●the method is not really useful and limited to String
●a cleaner solution to transform/format a String could have been a
pipe ‘|>’ like in other languages
●with so many open points waiting until release 13 could have been
more appropriated
“The originating goal was
to allow custom alignment
methods for those
developers not satisfied
with String::align()”
http://mail.openjdk.java.net/pipermail/c
ore-libs-dev/2018-September/055553.h
tml
Where is String::align?