Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; '(python': 0.05; 'mrab': 0.05; 'problem?': 0.07; 'statically': 0.07; 'python': 0.09; 'lost.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'suggest': 0.11; 'static': 0.13; ':-)': 0.13; 'interfaces': 0.15; 'doesnt': 0.16; 'intended.': 0.16; 'java.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Objects': 0.16; 'subtype': 0.16; 'wrote:': 0.17; 'typing': 0.17; '>>>': 0.18; 'java': 0.21; 'statement': 0.23; "haven't": 0.23; 'feature': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'mind.': 0.27; 'strongly': 0.27; 'header:X-Complaints-To:1': 0.28; 'all.': 0.28; '>>>>': 0.29; "i'm": 0.29; 'from:addr:yahoo.co.uk': 0.32; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'clear': 0.35; 'received:org': 0.36; 'really': 0.36; 'but': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'object': 0.38; 'nothing': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'defensive': 0.84; 'fact.': 0.84; 'kat': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Objects in Python Date: Wed, 22 Aug 2012 17:30:11 +0100 References: <18409992-1e28-4721-8e64-60c69668da4e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-123-14.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-Antivirus: avast! (VPS 120821-0, 21/08/2012), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345652894 news.xs4all.nl 6980 [2001:888:2000:d::a6]:52586 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27652 On 22/08/2012 17:10, lipska the kat wrote: > On 22/08/12 16:58, MRAB wrote: >> On 22/08/2012 15:59, lipska the kat wrote: >>> On 22/08/12 15:13, shaun wrote: >>> >>> [snip] >>> >>>> Im very new to python and the object orientated feature doesnt seem >>>> to be as well put together as Java. Can anyone help with this problem? >>> >>> From one Java head to another I suggest you park what you know about >>> Java and approach Python with a clear mind. > [snip] >> >> strong typing != static typing >> >> Python is strongly typed, but not statically typed. >> >> > No interfaces and no subtype polymorphism (Python has 'Duck Type' >>> polymorphism and I haven't really explored all the ramifications of this >>> yet). It does however have multiple inheritance. >>> > > [snip] > > The residents can be pretty defensive as well :-) > > Once again, no criticism intended. > > lipska > I'm lost. I see nothing defensive at all. I see a statement of fact. -- Cheers. Mark Lawrence.