codeconsole commented on PR #16139:
URL: https://github.com/apache/grails-core/pull/16139#issuecomment-5287782369

   Correction to my last comment: `g:set type=` is in (`a794e2a`), but the 
welcome page is **not** using it — it's back on `g:def` (`e823ab9`).
   
   Those twelve values are read only by the page that declares them. `g:def` 
declares a local, which is what they are; `g:set` does that plus a call into 
the tag library to write a scope nothing reads. On a page making 262 tag calls 
the difference won't show in a profile, but there's no reason to pay it, and 
`def` is the more accurate description.
   
   `g:set type=` earns its place separately: before it, a value that *did* need 
to be in a scope couldn't be typed at all.
   
   Happy to switch the page if you'd rather it demonstrate `g:set type=` to new 
applications — say the word.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to