What's better about Ruby than Python?

Jacek Generowicz jacek.generowicz at cern.ch
Fri Aug 22 09:24:12 CEST 2003


"Andrew Dalke" <adalke at mindspring.com> writes:

> Kenny Tilton:
> > as when we go for the
> > productivity win of untyped variables and give up on bugs strong static
> > typing is supposed to find.
> 
> You do realize that strong typing and static typing are different
> things?

Note that Kenny said "untyped _variables_" not "untyped objects" or
"untyped language".

> What does (the lisp equivalent of) 2.5 + "a" do?

Common Lisp complains that "a" is not a number.

> In Python, a strongly typed language, it raises an exception.

Common Lisp is strongly and dynamically typed, just like Python
... although CL does allow type declarations, for optimization
purposes.




More information about the Python-list mailing list