Why is Python popular, while Lisp and Scheme aren't?

Richard Dillingham shadowlord13_1 at yahoo.com
Sat Nov 9 14:51:15 EST 2002


> > (if (a)
> >     (if (b)
> >         (if (c)
> >             (asdf)
> >             (zzzz)
> >         )
> >         (foo)
> >     )
> >     (bar)
> > )
> >
>
> (if (a)
>     (if (b)
>         (if (c)
>             (asdf)
>    (zzzz))
>       (foo))
>   (bar))
>
> Would be the normal way to write this.
>
> --

I know, but I personally find the way I wrote it to be easier to read.
You'll also note that I didn't use the normal C coding standard in the C
examples, and instead used the Java/C# standard (Which I prefer).

The normal C way to use {}s being:

if (a)
{
 asdf;
}

etc.





More information about the Python-list mailing list