21 May
2004
21 May
'04
4:02 p.m.
Stephan Richter wrote:
On Friday 21 May 2004 09:07, Jim Fulton wrote:
So far the cast syntax seems to be the most popular:
(adaptername)ob (dc)context/title
Why don't we use adaptername(ob)? Then it looks exactely like in Python! Less to memorize.
Because that would be the top of a slippery slope. People would want: callable(arg1, arg2, arg3) eventually: foo/bar/callable(x/y, a/b/c)/q/r which is arguably the path to madness. A number of folks replid negatively to this idea when it was noted in the proposal. Jim -- Jim Fulton mailto:jim@zope.com Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org