Language mavens: Is there a programming with "if then else ENDIF" syntax?
r
rt8396 at gmail.com
Mon Nov 16 15:11:22 EST 2009
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!
More information about the Python-list
mailing list