[stringtemplate-interest] v4 ST

Graham Wideman gwlist at grahamwideman.com
Thu Oct 8 10:29:11 PDT 2009


At 10/8/2009 09:46 AM, Terence Parr wrote:
>ha! laugh if you will but ST.push("ter", "out the airlock") ain't a  
>bad function name. actually i like push.

I hope this is Ter pulling our legs!

If it's not, then I challenge supporters of "push" to come up with common programming uses of that term that *don't* mean adding data to a *stack*, with its implication that the data then becomes accessible primarily by popping, maybe by position into the stack (a la stack frame) and specifically *not* by name.

Ie: this function is supposed to place data at the disposal of the ST, where it can later be referred to by the template text *by name*, and, if needed, read back by the caller app *by name*.

So "push", if customarily used in connection with stacks, seems pretty at odds with this.

-- Graham


More information about the stringtemplate-interest mailing list