Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94550
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: scalar vs array and program control |
| References | <87vbd850qa.fsf@gmail.com> <mailman.973.1437822101.3674.python-list@python.org><1619647.1FW7hyz6Jq@PointedEars.de> |
| Date | 2015-07-25 15:43 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.978.1437831852.3674.python-list@python.org> (permalink) |
In a message of Sat, 25 Jul 2015 14:57:14 +0200, "Thomas 'PointedEars' Lahn" wr ites: >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. Laura
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: scalar vs array and program control Laura Creighton <lac@openend.se> - 2015-07-25 13:01 +0200
Re: scalar vs array and program control Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-25 14:57 +0200
Re: scalar vs array and program control Laura Creighton <lac@openend.se> - 2015-07-25 15:43 +0200
Re: scalar vs array and program control Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-25 18:53 +0200
Re: scalar vs array and program control Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-25 18:56 +0200
Re: scalar vs array and program control Laura Creighton <lac@openend.se> - 2015-07-25 19:45 +0200
Re: scalar vs array and program control Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-26 12:26 +0200
Re: scalar vs array and program control Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-07-26 12:35 +0200
csiph-web