Popular conceit about learning programming languages

Pascal Costanza costanza at web.de
Fri Nov 22 14:49:57 EST 2002


Donn Cave wrote:

> The procedural aspect of Python is also natural but not necessarily
> benign.  This is basically the linear descendent of assembly language,
> with variables for registers and other superficial differences;  the
> alternative (or one of them, anyway) is the equational reasoning you
> find in functional and logic programming languages.  It's arguably
> true that the normal programmer can more easily conceive a procedural
> solution to a problem, but it is not true that this solution will
> naturally be robust and maintainable.
[...]

That's even true for code that superficially looks like OOP. An 
extremely well-presented example and discussion of this can be found at 
http://csis.pace.edu/~bergin/patterns/ppoop.html


Pascal

-- 
Given any rule, however ‘fundamental’ or ‘necessary’ for science, there 
are always circumstances when it is advisable not only to ignore the 
rule, but to adopt its opposite. - Paul Feyerabend




More information about the Python-list mailing list