[stringtemplate-interest] ST# - question regarding specialcasingof IList

Terence Parr parrt at cs.usfca.edu
Thu May 25 16:49:20 PDT 2006


On May 25, 2006, at 4:44 PM, PATERSON, Robert wrote:

> In the Java version of ST, I think specific collection types (HashMap)
> were chosen in favour of the more generic Map interface to avoid  
> people
> breaking the ST 'view only' model by implementing the interface with
> putters and getters that have side effects. IIRC.

Yep, but I was convinced to open it up even though it's a risk...it's  
just too useful.

Ter


More information about the stringtemplate-interest mailing list