Paul Graham on Python hackers
fakeaddress at nowhere.org
Tue Aug 10 04:27:20 CEST 2004
beliavsky at aol.com wrote:
> Python, unlike Java, does not force OOP upon you -- it can be treated
> as an imperative language.
That's kind of fuzzy terminology. Both Python and Java are
imperative object-oriented languages.
> I think this is a plus especially when
> first learning the language or writing small programs. A Hello World
> program is just
There I agree.
> Python to me is a multi-paradigm language (imperative, OO, functional,
> generic), like C++ but interpreted and with dynamic typing.
Functional? Not so much. In viable functional languages
expressions/statement are evaluated primarily for their return
values and not their side-effects. (In purely functional
languages, there are no side-effects).
I don't think it's much like C++ either. In C++, things like
identifiers, modules, and classes don't exist at run-time.
More information about the Python-list