On 2009-11-16 14:40 PM, Edward A. Falk wrote:
In article<ff92db5b-9cb0-4a72-b339-2c5ac02fb...@p36g2000vbn.googlegroups.com>,
Steve Ferg<steve.ferg.bitbuc...@gmail.com>  wrote:
I've often thought that a language with this kind of block-free syntax
would be nice and intuitive:

    if<condition>  then
        do stuff
    elif<condition>  then
        do stuff
    else
        do stuff
    endif

Note that you do not need block delimiters.

"then", "else", and "endif" *are* the block delimiters

I think he meant that you don't need *extra* block delimiters or generic block delimiters like {}.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to