Re: [Cheetahtemplate-discuss] #def vs. #attr revisited
Brought to you by:
rtyler,
tavis_rudd
From: <ir...@ms...> - 2001-11-28 18:23:55
|
On Wed, Nov 28, 2001 at 11:02:44AM -0800, Tavis Rudd wrote: > On Wednesday 28 November 2001 09:10, Mike Orr wrote: > > On Wed, Nov 28, 2001 at 11:49:13AM +0000, Michael Halle wrote: > > > I basically agree with Ian that being able to do: > > > #def spam = "This is the value for spam." > > > to define an argumentless method would be really handy. > > > > I'm not a fan of the proliferation of constant functions, but if > > it's that important to ppl... > > It's not really a 'constant function'. By "contstant function", I mean a function/method that always returns the same literal. Which is what y'all are suggesting. -- -Mike (Iron) Orr, ir...@ms... (if mail problems: ms...@oz...) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol |