Java will soon get StringTemplates. At first sight, they may appear similar to f-strings in other programming languages, in that you can use them for string interpolation. They are different, however, in being way more flexible. This post explores how they compare to f-strings when applied to logging APIs.
Java StringTemplates and logging, or why…
Java will soon get StringTemplates. At first sight, they may appear similar to f-strings in other programming languages, in that you can use them for string interpolation. They are different, however, in being way more flexible. This post explores how they compare to f-strings when applied to logging APIs.