Add string interpolation to Java using back-ticks similar to ECMAScript

David Holmes david.holmes at oracle.com
Mon Sep 4 03:17:16 UTC 2017


Hi Behrang,

The discuss list is for discussing the actual OpenJDK Community, not for 
technical suggestions or discussions. I suggest compiler-dev may be a 
place to get some discussion going.

Regards,
David

On 4/09/2017 12:20 PM, Behrang Saeedzadeh wrote:
> As back-tick is not used in Java at the moment, grammar-wise this should be
> relatively easy. And the parser can translate such strings to string concat
> or StringBuilder calls.
> 
> A simple syntax sugar, but very sweet.
> 
> Best regards,
> Behrang Saeedzadeh
> 


More information about the discuss mailing list