Strong typing implementation for Python

Marko Rauhamaa marko at pacujo.net
Mon Oct 12 13:20:54 EDT 2015


Bartc <bc at freeuk.com>:

> (Example, calling fib(40) on the example below took 90 seconds on
> Python 3.4, 11 seconds with PyPy, but only 1.8 seconds running the
> equivalent with FreeBasic:

I don't know what you need fibonacci numbers for, but speed is not the
essence of most programming tasks. Rather, the key issue is managing
complexity.

As for managing complexity, many people believe static typing is a
crucial tool. I disagree. Static typing adds vast amounts of noise to
the code. A dynamic programming language like Python allows you to
express powerful abstractions concisely, understandably and likely
correctly.


Marko



More information about the Python-list mailing list