[albatross-users] more data tricks for the wiki

Dave Cole djc at object-craft.com.au
Thu Jul 3 22:33:32 EST 2003


>>>>> "Matt" == Matt Goodall <matt at pollenation.net> writes:

>> The user shouldn't have to care that it's an iterator when the
>> surrounding structure looks like a simple for loop.  if appearances
>> are deceiving, the user will resent being deceived.

Matt> Hmm, that's an interesting point. Perhaps the *real* problem is
Matt> that the tag is called <al-for> but doesn't behave like a Python
Matt> for loop. Perhaps something like <al-iterate>would be better?

Good point.

The new documentation for <al-for> should hopefully make the iterator
a little less confusing.

   http://www.object-craft.com.au/projects/albatross/albatross/tag-for.html

- Dave

-- 
http://www.object-craft.com.au




More information about the Albatross-users mailing list