Re:Java String Interpolation final in Java 23
by vlakreeh on Saturday January 13, 2024 @09:34AM
(#38980264)
Even with their constraints they could have made this nicer, especially around the default formatter. Always requiring an explicit formatter is a classic example of Java being unnecessarily verbose, `\{ ` already wasn't permitted by previous java compilers as it was an unknown escape sequence so we could have nicer templates for the stock formatting like "\{foo} bar".
[ Parent
| on HN ]
There are no comments on this comment yet.