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


Groups > comp.lang.python > #90459

Re: How to properly apply OOP in the bouncing ball code

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:code': 0.07; 'events.': 0.09; 'oop': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'worse': 0.09; 'subject:How': 0.10; 'python': 0.11; 'jan': 0.12; 'denotes': 0.16; 'fit,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:OOP': 0.16; 'vpython': 0.16; 'language': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'fit': 0.20; '>>>': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'mon,': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'community': 0.33; 'monday,': 0.33; 'subject:the': 0.34; 'problem': 0.35; 'but': 0.35; 'there': 0.35; 'virtual': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'skip:* 10': 0.61; "you're": 0.61; 'making': 0.63; 'skip:n 10': 0.64; 'different': 0.65; 'world': 0.66; 'physical': 0.72; '*data': 0.84; '2015': 0.84; 'discrete': 0.84; 'huh?': 0.84; 'received:fios.verizon.net': 0.84; 'simulation.': 0.84; 'simulation': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: How to properly apply OOP in the bouncing ball code
Date Tue, 12 May 2015 11:45:31 -0400
References <009ceef8-066d-4d92-a6c9-761e86584e75@googlegroups.com> <45313faa-d256-4fa4-9e37-4b8dd85e1681@googlegroups.com> <mailman.383.1431390292.12865.python-list@python.org> <a25437cb-c525-41db-9bd4-c9759a982a3b@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-98-114-97-173.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
In-Reply-To <a25437cb-c525-41db-9bd4-c9759a982a3b@googlegroups.com>
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.398.1431445807.12865.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431445807 news.xs4all.nl 2944 [2001:888:2000:d::a6]:47134
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90459

Show key headers only | View raw


On 5/11/2015 8:42 PM, zipher wrote:
> On Monday, May 11, 2015 at 7:25:09 PM UTC-5, Dennis Lee Bieber wrote:
>> On Mon, 11 May 2015 08:33:56 -0700 (PDT), zipher
>> <dreamingforward@gmail.com> declaimed the following:
>>> You are making a error that few in the programming community have caught up to.  OOP design for *data abstraction* is a completely different beast that OOP for *simulation*.  The confusion is around the use of the word "object" which both denotes a physical world item and a virtual one detached from reality.
>>>
>>> I would say that Python might not be the right fit, but instead a language dedicated to simulation.
>>
>> 	The danger there is that a "language dedicated to simulation" might
>> mean "discrete event" simulation -- which would be an even worse fit to a
>> problem of particle motion simulation.
>
> Huh?  VPython successfully models particle motion simulation with discrete events.  I don't see how you're going to update a variable non-discretely.  Tensors?  Good luck.
>
> Mark
>


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to properly apply OOP in the bouncing ball code Tommy C <tommyc168168@gmail.com> - 2015-05-08 08:40 -0700
  Re: How to properly apply OOP in the bouncing ball code Mel Wilson <mwilson@the-wire.com> - 2015-05-08 18:44 +0000
  Re: How to properly apply OOP in the bouncing ball code Ian Kelly <ian.g.kelly@gmail.com> - 2015-05-08 10:22 -0600
  Re: How to properly apply OOP in the bouncing ball code Tommy C <tommyc168168@gmail.com> - 2015-05-11 08:22 -0700
    Re: How to properly apply OOP in the bouncing ball code Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-05-12 17:53 +0100
  Re: How to properly apply OOP in the bouncing ball code zipher <dreamingforward@gmail.com> - 2015-05-11 08:33 -0700
    Re: How to properly apply OOP in the bouncing ball code Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-11 20:24 -0400
      Re: How to properly apply OOP in the bouncing ball code zipher <dreamingforward@gmail.com> - 2015-05-11 17:42 -0700
        Re: How to properly apply OOP in the bouncing ball code Terry Reedy <tjreedy@udel.edu> - 2015-05-12 11:45 -0400
          Re: How to properly apply OOP in the bouncing ball code Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-05-13 20:20 +1200

csiph-web