Re: Sv: Re: New looping method proposal

From: Date: Mon, 26 Nov 2001 17:57:30 +0000
Subject: Re: Sv: Re: New looping method proposal
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2046@lists.php.net to get a copy of this message
good points. We probably shouldn't worry so much about {loop ...} confusion with {section loop= ...}, it is probably a non-issue. We should use whatever makes syntax the most intuitive. Ivo Jansch wrote: > > Hoi, > > Andrei Zmievski wrote: > > >>So you don't like it solely because it is similar to PHPs foreach > >>syntax? reasons? > > Why not just use 'loop'? You're afraid it might cause confusion with the > section parameter. I think it won't. Loop is perfectly clear in what it > does. The word 'section' is not unambiguous, but loop is.. There's no > word that describes better what the result of it will be. > > 'loop' is a word you don't have to look up in the manual, because it's > easily 'guessable'. 'section' and 'foreach' is something you > don't guess > when you want to loop something. > > Greetings, > Ivo > > -- > Ivo Jansch <ivo@ibuildings.nl> > ibuildings.nl BV - information technology > http://www.ibuildings.nl > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#2046) next »