The question is more about style. Do you think Webware will stay with using nonkeyword arguments, or start using keyword arguments. Much new software which is python based, like SQLAlchemy, seem to all be adapting kwargs.
On Wed, April 25, 2007 11:13 pm, Christoph Zwerschke wrote: > tsume wrote: >> What is your take on kwargs, do you like them? >> >> turbogears.scheduler.add_interval_task(action=do_something, >> taskname='do_something', initialdelay=0, interval=10) >> >> vs. >> >> scheduler.addPeriodicAction(time(), 5, PageGenerator('static.html'), >> 'PageGenerator') > > I'm not sure what you're driving at exactly. > > In this case, the action and the interval are required anyway. One thing > that TurboGears does better is that it has reasonable default values for > the start time (now) and seems to allow unnamed tasks. But I think this > is just a flaw of addPeriodicAction and not something Webware specific. > > -- Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Webware-discuss mailing list > Webware-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/webware-discuss > _______________________________________________________ email: tsume [at] tsumelabs [dot] com phone: 907.399.2337 http://www.tsumelabs.com - software and web site design ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss