On Sun, 19 Jul 2009 10:33:39 -0700, fft1976 wrote: > On Jul 19, 9:55 am, Frank Buss <f...@frank-buss.de> wrote: > >> E.g. the number system: In many Lisp >> implementations (/ 2 3) results in the fractional object 2/3. In Python >> 2.6 "2 / 3" results in "0". Looks like with Python 3.1 they have fixed >> it, now it returns "0.6666666666", which will result in lots of fun for >> porting applications written for Python <= 2.6. > > How do you explain that something as inferior as Python beat Lisp in the > market place despite starting 40 years later.
http://www.jwz.org/doc/worse-is-better.html Besides, one can legitimately disagree that 2/3 => 0 is the wrong thing to do. It's the right thing to do if you're doing integer maths. -- Steven -- http://mail.python.org/mailman/listinfo/python-list