[stringtemplate-interest] ST# - question regarding special casing of IList

Jeremy Gray jgray at siberra.com
Thu May 25 14:13:20 PDT 2006


Following on from Kunle's recent post regarding special casing of IList,
I was wondering if Kunle or someone else could comment on why IList was
selected for special casing as a multi-valued attribute. The .net design
guidelines suggest that IList be targeted if the list is to be modified,
ICollection if they need counts of list members and/or access by index,
and IEnumerable if none of these are needed. Is there a particular
reason for ST# to target IList and/or to not target IEnumerable?

 

Thanks in advance,

 

Jeremy Gray

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20060525/65e50f5f/attachment.html


More information about the stringtemplate-interest mailing list