Language mavens: Is there a programming with "if then else ENDIF" syntax?
Erik Max Francis
max at alcyone.com
Mon Nov 16 17:37:11 EST 2009
r wrote:
> On Nov 16, 10:54 am, Steve Ferg <steve.ferg.bitbuc... at 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
>
> WHY? Python's syntax is by far the most elegant of all, no need to
> show the end of a block. Python is the smartest kid on the block. And
> are you saying you would rather type "then" instead of ":" and "endif"
> instead of "\n"?
>
> No thanks!
You clipped out the part where he explicitly said it was not a
suggestion to change Python.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
Mona Lisa / Come to discover / I am your daughter
-- Lamya
More information about the Python-list
mailing list