On 4/1/2014 4:20 AM, Skybuck Flying wrote:
April Fools =D
If you thought spaghetti code was bad, ...

in December, 1973 R. Lawrence Clark proposed a new programming construct: COME FROM. See https://www.fortran.com/come_from.html

What can we do in this new age of GOTOless programming do to match this incredible achievement?

How about an "against" statement.

Something like against <iterable of callable objects> throw <iterable of arguments>?

This doesn't really capture the same weird behavior of COME FROM, but it is a starter.


How about a "without" statement?

without <identifier [, identifier ...]  [raise <exception>]:
  <suite>

Within the <suite>Any mention of any identifier in the list raises the specified or default (WithoutError) exception.

PEP writers: sharpen your quills!
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to