[Python-ideas] 'where' statement in Python? (original) (raw)

Daniel Stutzbach daniel at stutzbachenterprises.com
Tue Jul 20 20:29:04 CEST 2010


On Tue, Jul 20, 2010 at 1:16 PM, Guido van Rossum <guido at python.org> wrote:

Given the large number of Python users familiar with SQL compared to those familiar with Haskell, I think we'd do wise to pick a different keyword instead of 'where'. I can't think of one right now though. <http://mail.python.org/mailman/listinfo/python-ideas>

Taking a cue from mathematics, how about "given"?

c = sqrt(aa + bb) given: a = retrieve_a() b = retrieve_b()

Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100720/b2a3a83a/attachment.html>



More information about the Python-ideas mailing list