On Fri, Apr 1, 2011 at 10:00 AM, Stefan Behnel <stefan...@behnel.de> wrote: > Nobody, 01.04.2011 18:52: >> >> Java is a statically-typed language which makes a distinction between >> primitive types (bool, int, double, etc) and objects. Python is a >> dynamically-typed language which makes no such distinction. Even something >> as simple as "a + b" can be a primitive addition, a bigint addition, a >> call to a.__add__(b) or a call to b.__radd__(a), depending upon the values >> of a and b (which can differ for different invocations of the same code). >> >> This is one of the main reasons that statically-typed languages exist, and >> are used for most production software. > > I doubt that the reason they are "used for most production software" is a > technical one.
I also suspect that there's some confusion between duck typing and typelessness going on here. Geremy Condra -- http://mail.python.org/mailman/listinfo/python-list