Path: csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'algorithms,': 0.07; 'variables': 0.07; 'string': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'handful': 0.09; 'message- id:@stoneleaf.us': 0.09; '~ethan~': 0.09; 'python': 0.11; 'language,': 0.12; 'language.': 0.14; 'containers': 0.16; 'fits': 0.16; 'received:gateway01.websitewelcome.com': 0.16; 'roy': 0.16; 'simple.': 0.16; 'wrote:': 0.18; 'pieces': 0.19; 'header:User- Agent:1': 0.23; 'helpful': 0.24; 'people,': 0.24; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'related': 0.29; 'container': 0.31; 'class': 0.32; 'languages': 0.32; 'another': 0.32; 'programmers': 0.33; 'basic': 0.35; 'operate': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'programming,': 0.36; 'doing': 0.36; 'wrong': 0.37; 'two': 0.37; 'level': 0.37; 'list.': 0.37; 'massive': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'most': 0.60; 'received:173': 0.61; 'simple': 0.61; 'first': 0.61; 'such': 0.63; 'subject:The': 0.64; 'teaching': 0.64; 'levels': 0.65; 'talking': 0.65; 'smith': 0.68; 'subjectcharset:utf-8': 0.72; 'paper': 0.75; 'article': 0.77; 'subject:have': 0.80; 'fail.': 0.84; 'hill': 0.95 Date: Thu, 08 May 2014 06:18:15 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: The =?UTF-8?B?4oCcZG9lcyBQeXRob24gaGF2ZSB2YXJpYWJsZXM/4oCdIGQ=?= =?UTF-8?B?ZWJhdGU=?= References: <235C4BFA-9770-481A-9FCF-21C3F036769C@gmail.com> <5368681D.8070602@islandtraining.com> <85zjiuea37.fsf_-_@benfinney.id.au> <8738gmxgay.fsf@elektro.pacujo.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3304.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source-IP: 173.12.184.233 X-Exim-ID: 1WiODH-0006Nv-LE X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([173.12.184.233]) [173.12.184.233]:59611 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 1 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3IzMzA0Lmhvc3RnYXRvci5jb20= 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399556543 news.xs4all.nl 2940 [2001:888:2000:d::a6]:50804 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71099 On 05/08/2014 05:41 AM, Roy Smith wrote: > In article , > Jerry Hill wrote: > >> thinking of python variables as having two parts -- names and values >> -- really can help people who are struggling to learn the language. > > There's many levels of learning, and we see them all on this list. > > For people who are just learning programming, and are learning Python as > their first language, we need to keep things simple. These are the > people who are still struggling to understand basic concepts such as > algorithms, loops, and the most fundamental data structures. For those > people, talking about variables as a container to hold a value is the > right level of abstraction. -1 There is nothing wrong with simplifying concepts for newbies, but use one that fits the language. There is nothing difficult with either the sticky note analogy or the pieces of paper and a string analogy. Teaching someone that Python variables are containers is a massive fail. > OK, so that takes care of newbies. There's another whole class of > people who learn Python. These are the people who have been doing this > for a long time. There's also the whole class of programmers who only know one language, or only a small handful of related languages that all pretty much operate the same as far as variables are concerned. The simple analogies is also helpful for them. -- ~Ethan~