2 ms·
Tbh I still crave Kotlins inline string interpolation.
by EdwardDiego 5y ago
Tbh I still crave Kotlins inline string interpolation.
- kaba0 5y agoA “superior” implementation is in the works with templated strings. It will look something like this: STR.”text with \\{variable}”, but anything implementing the TemplatedString interface can change the behavior of interpolation. There is not even a requirement to produce strings only!
- EdwardDiego 5y agoOh nice, do you have a link to the project?
- kaba0 5y agohttps://openjdk.java.net/jeps/8273943 https://openjdk.java.net/jeps/8273943
- EdwardDiego 5y agoCheers!