Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69519

Re: Python to be replaced by the new language called Cookie !

Date 2014-04-01 10:32 -0400
From bob gailer <bgailer@gmail.com>
Subject Re: Python to be replaced by the new language called Cookie !
References <1a31$533a76d6$5419b3e4$11235@cache80.multikabel.net>
Newsgroups comp.lang.python
Message-ID <mailman.8805.1396362772.18130.python-list@python.org> (permalink)

Show all headers | View raw


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!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python to be replaced by the new language called Cookie ! "Skybuck Flying" <Windows7IsOK@DreamPC2006.com> - 2014-04-01 10:20 +0200
  Re: Python to be replaced by the new language called Cookie ! bob gailer <bgailer@gmail.com> - 2014-04-01 10:32 -0400
  Re: Python to be replaced by the new language called Cookie ! Chris Angelico <rosuav@gmail.com> - 2014-04-02 02:19 +1100
  Re: Python to be replaced by the new language called Cookie ! Dan Sommers <dan@tombstonezero.net> - 2014-04-02 04:15 +0000
    Re: Python to be replaced by the new language called Cookie ! Chris Angelico <rosuav@gmail.com> - 2014-04-02 16:42 +1100
      Re: Python to be replaced by the new language called Cookie ! alex23 <wuwei23@gmail.com> - 2014-04-02 17:17 +1000
      Re: Python to be replaced by the new language called Cookie ! Grant Edwards <invalid@invalid.invalid> - 2014-04-02 14:20 +0000
  Re: Python to be replaced by the new language called Cookie ! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-04-01 21:04 -0400

csiph-web