3 ms·
A “superior” implementation is in the works with templated strings. It will look something like this: STR.”text with \\{variable}”, but anything implementing
by kaba0 5y ago
A “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!