groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikko Värri <mi...@varri.fi>
Subject Re: [Proposal] GString is implemented eager and treated as normal String since groovy 3.0.0
Date Tue, 11 Sep 2018 09:42:47 GMT

> On 11 Sep 2018, at 12.31, Guillaume Laforge <glaforge@gmail.com> wrote:
> 
> Javascript's  `backquoted ${str}` are immutable.
> So changing the embedded variable str won't change the value of the templated string.
> As if we didn't have enough variants of strings ;-) perhaps we should support that one
too :-)
> 


Except that backquotes might have a different purpose on Java later :D

http://openjdk.java.net/jeps/326

-mikko


Mime
View raw message