[stringtemplate-interest] do we need null?

Terence Parr parrt at cs.usfca.edu
Sun Apr 10 17:20:44 PDT 2011


Yeah, I guess you're right... "" is basically the same thing for most purposes.
Ter
On Apr 10, 2011, at 4:52 PM, Barrie Treloar wrote:

> On Mon, Apr 11, 2011 at 8:25 AM, Terence Parr <parrt at cs.usfca.edu> wrote:
>> I'm calling a template that takes an argument but I don't have a value for it. That's fine except that at runtime it warns me that I haven't passed enough parameters. I guess I could pass in "", what should we introduce the notion of null?  Hmm... maybe it's not worth the extra concept. We have true, false, and empty string.
> 
> How would null render?
> Isn't empty string usually what you want for a "null" value anyway.
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list