Path: csiph.com!usenet.pasdenom.info!goblin1!goblin.stu.neva.ru!uio.no!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'explicitly': 0.05; 'subject:Python': 0.06; 'assignment': 0.07; 'compiler': 0.07; 'permitted': 0.07; 'default.': 0.09; 'falls': 0.09; 'operator,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:language': 0.09; 'variable,': 0.09; 'developers,': 0.11; 'mostly': 0.14; 'sections': 0.14; 'bounds': 0.16; 'disregard': 0.16; 'ought': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'right-hand': 0.16; 'side.': 0.16; 'subject: \n ': 0.16; 'subject:programming': 0.16; 'unary': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'code,': 0.22; 'header:User- Agent:1': 0.23; 'received:comcast.net': 0.24; 'subject:/': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'rest': 0.29; 'wonder': 0.29; 'dec': 0.30; 'especially': 0.30; 'url:wiki': 0.31; "d'aprano": 0.31; 'disable': 0.31; 'steven': 0.31; 'url:wikipedia': 0.31; 'critical': 0.32; 'languages': 0.32; 'checking': 0.33; 'common': 0.35; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'read': 0.60; 'address': 0.63; 'name': 0.63; 'side': 0.67; 'believe': 0.68; 'safe': 0.72; 'touch': 0.74; '(while': 0.84; 'asterisk': 0.84; 'bliss': 0.84; 'silently': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Batchelder Subject: Re: Experiences/guidance on teaching Python as a first programming language Date: Fri, 20 Dec 2013 21:04:24 -0500 References: <20131217165144.39bf9ba1cd4e4f27a96893ca@gmx.net> <52b0fb4f$0$29973$c3e8da3$5496439d@news.astraweb.com> <52b15a69$0$29973$c3e8da3$5496439d@news.astraweb.com> <52b328f7$0$6512$c3e8da3$5496439d@news.astraweb.com> <52b3a864$0$6599$c3e8da3$5496439d@news.astraweb.com> <77m9b9p3ibfsari44gvmcq1nvepm7bkdnl@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: c-50-133-228-126.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <77m9b9p3ibfsari44gvmcq1nvepm7bkdnl@4ax.com> 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: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387591479 news.xs4all.nl 2868 [2001:888:2000:d::a6]:58570 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62463 On 12/20/13 6:58 PM, Dennis Lee Bieber wrote: > On 20 Dec 2013 02:16:05 GMT, Steven D'Aprano > declaimed the following: > >> >> 2) Even for kernel developers, I believe that systems languages should be >> safe by default. You ought to have to explicitly disable (say) bounds >> checking in critical sections of code, rather than explicitly enable it. >> Or worse, have to program your own bounds checking -- especially if the >> compiler is permitted to silently disregard it if you make one tiny >> mistake. >> > I wonder how BLISS falls into that... Have to read the rest of > http://en.wikipedia.org/wiki/BLISS (while I had 22 years on VMS, it was > mostly F77, a touch of F90, C, Pascal, and some DCL; but never used BLISS) > Bliss is even lower-level than C. It made the too-consistent choice of having names mean the same thing on the left-hand side of an assignment as on the right-hand side. A name meant the address of a variable, so to access the value of a variable, you had to dereference it with the dot operator, much like the unary asterisk in C. C: a = b Bliss: a = .b C: a = a + 1 Bliss: a = .a + 1 C: a = *b Bliss: a = ..b C: a = &b Bliss: a = b It was far too common to forget the dots... -- Ned Batchelder, http://nedbatchelder.com