Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94550

Re: scalar vs array and program control

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'creighton': 0.09; 'implies': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'things.': 0.15; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:array': 0.16; 'subject:program': 0.16; 'wrote:': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'oriented': 0.22; 'sat,': 0.23; 'written': 0.24; 'header:In-Reply-To:1': 0.24; '+0200,': 0.27; "skip:' 10": 0.28; 'idea?': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'code': 0.30; 'operations': 0.31; 'fixed': 0.31; 'functional': 0.32; 'add': 0.34; 'primarily': 0.35; 'subject:: ': 0.37; 'really': 0.37; 'things': 0.38; 'your': 0.60; 'header:Message- Id:1': 0.61; 'more': 0.63; 'other.': 0.64; 'techniques': 0.65; 'jul': 0.72; 'received:89': 0.80; '>how': 0.84
To "Thomas 'PointedEars' Lahn" <usenet@PointedEars.de>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: scalar vs array and program control
In-Reply-To Message from "Thomas 'PointedEars' Lahn" <PointedEars@web.de> of "Sat, 25 Jul 2015 14:57:14 +0200." <1619647.1FW7hyz6Jq@PointedEars.de>
References <87vbd850qa.fsf@gmail.com> <mailman.973.1437822101.3674.python-list@python.org><1619647.1FW7hyz6Jq@PointedEars.de>
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-ID <24897.1437831839.1@fido>
Content-Transfer-Encoding quoted-printable
Date Sat, 25 Jul 2015 15:43:59 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Sat, 25 Jul 2015 15:44:04 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.978.1437831852.3674.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1437831852 news.xs4all.nl 2859 [2001:888:2000:d::a6]:51544
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94550

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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