Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'programmer': 0.03; 'definitions': 0.07; 'exists.': 0.07; 'useless': 0.09; 'python': 0.11; 'language.': 0.14; 'distinct': 0.16; 'integers,': 0.16; 'language?': 0.16; 'underlying': 0.16; 'sat,': 0.16; 'ignore': 0.16; 'student': 0.16; 'wrote:': 0.18; 'implementing': 0.19; 'things.': 0.19; 'feb': 0.22; 'machine': 0.22; '>>>': 0.22; 'memory': 0.22; 'programming': 0.22; 'circular': 0.24; 'question': 0.24; '15,': 0.26; 'class.': 0.26; 'references': 0.26; 'header:In- Reply-To:1': 0.27; 'wondering': 0.29; 'am,': 0.29; 'quickly': 0.29; 'thus': 0.29; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; 'getting': 0.31; 'safely': 0.31; 'waters': 0.31; 'this.': 0.32; 'addresses': 0.33; 'beginning': 0.33; 'could': 0.34; 'etc': 0.35; 'objects': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'being': 0.38; 'lists.': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'users': 0.40; 'how': 0.40; 'even': 0.60; 'ian': 0.60; 'most': 0.60; 'identify': 0.61; 'first': 0.61; 'details': 0.65; 'notion': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=8F2IC0M9FtTvw33qVbQSdwtcs++9NlgBmfExTe1xXqw=; b=yHP2QPipGXZv+WdTLrdxgHAMUwTMY8caz/+c5kOr0FBB0P2QUco8HzTr4bGIs8MCGF 2MFokitdC67Zdad+9tfANuRGsprd5UJPXxq++NgbsAk2KS1ljdRSaLZ5d6wVmOGLN7lg ZFuLK7koewdABqWzz5oD2dPUQx2vpzKEeth38In7BdjodAuK03qd0aXJwfj0HS4QqOfd MGzrZoQ18mzgp9CVloX3dgLdnwWehzH5GBXfA4yHWgwHaOgOK31Eos+U2EbFFWvsBAsl FUAjUofw5kN1WGOfVwCeHY76Y4rUqbNU8uexJlfsNFaoCgpeRRxfn68fohPLQUSyU4MP xaKg== X-Received: by 10.66.149.37 with SMTP id tx5mr16988480pab.81.1392499247321; Sat, 15 Feb 2014 13:20:47 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <87mwhsku0e.fsf@elektro.pacujo.net> References: <13208de8-0f85-4e60-b059-dc087c8fda41@googlegroups.com> <917ede6d-db7c-4a8c-8203-27677283776b@googlegroups.com> <871tz5piy0.fsf@elektro.pacujo.net> <87vbwho1i0.fsf@elektro.pacujo.net> <87mwhtnzdu.fsf@elektro.pacujo.net> <87y51cn2m9.fsf@elektro.pacujo.net> <87mwhsn0nx.fsf@elektro.pacujo.net> <52ff4ce4$0$29973$c3e8da3$5496439d@news.astraweb.com> <87iosgmveg.fsf@elektro.pacujo.net> <52ff7cac$0$29973$c3e8da3$5496439d@news.astraweb.com> <87wqgwl4oo.fsf@elektro.pacujo.net> <87mwhsku0e.fsf@elektro.pacujo.net> From: Ian Kelly Date: Sat, 15 Feb 2014 14:20:07 -0700 Subject: Re: Explanation of list reference To: Python 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392499251 news.xs4all.nl 2941 [2001:888:2000:d::a6]:50178 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66484 On Sat, Feb 15, 2014 at 1:20 PM, Marko Rauhamaa wrote: > Ian Kelly : > >> On Sat, Feb 15, 2014 at 9:29 AM, Marko Rauhamaa wrote: >>> Thus "x and y are identical" *means* "x is y" and nothing else. >> >> This notion of identity sounds useless, and if that is the way you >> prefer to understand it then you can safely ignore that it exists. I >> think that most users though inherently understand the concept of >> objects being distinct or identical and see the value in being able to >> test for this. > > It is not useless to identify your fundamental definitions and axioms > instead of resorting to circular reasoning. > > The original question was how a beginning programmer could "get" lists. > We very quickly descended into the murky waters of "objects" of an > underlying machine and CPython's way of implementing things. I was > wondering if there was a way to "get" integers, lists, references etc > without hauling the poor student under the keel. > > In a word, could Python be your first programming language? Absolutely, many people learn Python as their first language. Even MIT famously uses it for their introductory computer science class. And I think that most of them do it without getting into internal details like memory addresses and the heap.