scalar vs array and program control

Laura Creighton lac at
Sat Jul 25 15:43:59 CEST 2015

In a message of Sat, 25 Jul 2015 14:57:14 +0200, "Thomas 'PointedEars' Lahn" wr
>Laura Creighton wrote:
>> […]  You really cannot make your code 'more functional' and 'more object-
>> oriented' at the same time -- more in one style implies less in the other.
>How did you get that idea?

Because pure object oriented techniques are best when you have
a fixed set of operations on things, and as your code evolves
you primarily add new things.  Things written in a functional style
work best when you have a fixed set of things, and your code evolves
you add new operations for the existing things.


More information about the Python-list mailing list