Language mavens: Is there a programming with "if then else ENDIF" syntax?

Robert Kern robert.kern at
Mon Nov 16 21:51:43 CET 2009

On 2009-11-16 14:40 PM, Edward A. Falk wrote:
> In article<ff92db5b-9cb0-4a72-b339-2c5ac02fbad0 at>,
> Steve Ferg<steve.ferg.bitbucket at>  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

More information about the Python-list mailing list