Re:Java String Interpolation final in Java 23
by marginalia_nu on Saturday January 13, 2024 @09:41AM
(#38980333)
Other languages are not attempting to be backwards compatible with Java.
[ Parent
| on HN ]
Re:Java String Interpolation final in Java 23
by rco8786 on Saturday January 13, 2024 @09:46AM
(#38980375)
One of the arguments is that existing $ in strings would have to be escaped. Every other language supported $ in strings before interpolation appeared. Not Java specific.
Every other language is susceptible to SQL injection style attacks. Not Java specific.
Re:Java String Interpolation final in Java 23
by marginalia_nu on Saturday January 13, 2024 @10:23AM
(#38980740)
Few other languages are as committed to backwards compatibility as Java though.