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

Cameron Laird claird at lairds.com
Fri Nov 8 14:14:03 EST 2002


In article <20021108.115059.1034949299.9010 at cybermesa.com>,
Jay O'Connor <joconnor at cybermesa.com> wrote:
			.
			.
			.
>Yes, I was a Python advocate in a TCL shop for awhile and had a hard
>time convincing
>people that there was a qualitative difference between.
>
>set x [lindex [lindex $var 5] 5]
>
>and 
>
>x = var[5][5]
			.
			.
			.
Tcl has definite problems that are close to what this
example expresses.  Somebody's tilting the idiomatic
playing field, though; the experienced Tcl-ers I know
would write
  set x $var(5,5)
rather than deal with the monstrosity above.

What makes Tcl look bad is
  set rounded [expr int(a + 0.5)]
vs.
  rounded = int(a + 0.5)
-- 

Cameron Laird <Cameron at Lairds.com>
Business:  http://www.Phaseit.net
Personal:  http://phaseit.net/claird/home.html



More information about the Python-list mailing list