groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MG <mg...@arscreat.com>
Subject Re: groovy git commit: Increase the possible size of value in GString instance
Date Fri, 26 Jan 2018 15:42:17 GMT
Hi Daniel,

as far as I read Jochen's mail, it was not the rationale that was 
challenged per se, but the lack of expressing such in the form of a 
comment in the code... :-)

Cheers,
mg


On 26.01.2018 01:21, Daniel Sun wrote:
> Hi Jochen,
>
>        Let's have a look at some normal examples:
>
> `println "Hello, ${name}"` // length of "Jochen" is 6, length of "Daniel" is
> 6 too
> `println "Path: ${path}"` // the length of some file location is usually
> more than 8, e.g. D:\workspace\groovy
> ```
> <html>
>     <body>
>        ${includedBody}  // the length of html body is usually more than 8 too
>     </body>
> </html>
> ```
>
>        So I think the original possible size(i.e. 1) of value is too small
> ;-)
>
> Cheers,
> Daniel.Sun
>
>
>
> --
> Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
>


Mime
View raw message