Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.171 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.68; '*S*': 0.03; 'alter': 0.09; 'rarely': 0.16; 'language': 0.16; 'wrote:': 0.18; 'this:': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'text': 0.33; 'programmers': 0.33; 'used,': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'url:org': 0.36; 'easily': 0.37; 'to:addr:python-list': 0.38; 'fact': 0.38; 'url:2004': 0.39; 'url:12': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'read': 0.60; 'august': 0.61; 'subject:skip:E 10': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cx5lbbHBTd6kkOACDRM0FGwfRX+C5WUBk1rhQuWugnw=; b=SWy0CStBeBWv29xfa53Dg5Rwhjnm2l4WuUAXj0xpSFjtz3EgQY7HOEGQYTcTJ0BF9w UmHbOutiUsn4ovXvzcXrlYL4AB8NzD4WFKnmXbPANjiCDmKOrHJ2W49ynj6mCNBJm6Mf Gv1/sOA0pLTTbWrSUpub0PkzkcJensys0YyM08ETRAwAbw1j/dS3goBcpvB7QMh/Rg/m 9tfJ1LA8g6clMWrEFfprVpDRLX4pyejwOz+HS3pLlb76uWtUxw7No4P1kqtEIFK6Uq4v jAuRF1KSh5RRh3XY9gCfNjSgsTOx0k+JnpVar0674XiZHLHHWFiDgBtk7tfM4G6v/c+0 Npqw== MIME-Version: 1.0 X-Received: by 10.58.211.227 with SMTP id nf3mr229323vec.20.1376744752760; Sat, 17 Aug 2013 06:05:52 -0700 (PDT) In-Reply-To: <8255dfbd-a2a1-4ab7-b900-ee19faa459f2@googlegroups.com> References: <8255dfbd-a2a1-4ab7-b900-ee19faa459f2@googlegroups.com> Date: Sat, 17 Aug 2013 23:05:52 +1000 Subject: Re: Encapsulation unpythonic? From: David To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1376744755 news.xs4all.nl 15911 [2001:888:2000:d::a6]:37709 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52626 On 17 August 2013 22:26, wrote: > > 1) Is there a good text where I can read about the language philosophy? What practices are "pythonic" or "unpythonic"? > > 2) If it is in fact true that encapsulation is rarely used, how do I deal with the fact that other programmers can easily alter the values of members of my classes? Try this: http://dirtsimple.org/2004/12/python-is-not-java.html