[stringtemplate-interest] do we need null?

Barrie Treloar baerrach at gmail.com
Sun Apr 10 16:52:32 PDT 2011


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.


More information about the stringtemplate-interest mailing list