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:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to