Python Productivity over C++

Aahz Maruch aahz at netcom.com
Mon Jun 12 00:20:46 EDT 2000


In article <85snuj346q.fsf at one.net.au>,
Neurocrat  <neurocrat at one.net.au> wrote:
>
>What is it about Python that encourages the "component" style you
>described?

I think it's that Python modules with even a modicum of "proper" design
truly are components.  That makes unit testing of each module
ridiculously simple.  Back in January, I came up with a quote that a lot
of people seem to think captures the essence of Python design:

  The way to build large Python applications is to componentize and
  loosely-couple the hell out of everything.

Python is all about interfaces, given that there's no static typing.
What's a component?  It's a defined interface.  Python is about
simplicity, to the point where experienced programmers have to fight
their tendency to look for the complexities.

Unless you actually have a complicated algorithm (e.g. income tax
calculations), if your Python code looks complicated, you're probably
doing it wrong.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"I love you."
"Duhhhh!"  --SFJ



More information about the Python-list mailing list