Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6692

Re: Beginner needs advice

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'terry': 0.07; 'python': 0.08; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'pm,': 0.10; 'wrote:': 0.14; 'bad;': 0.16; 'comma': 0.16; 'destination.': 0.16; 'hazard': 0.16; 'ignores': 0.16; 'redundancy': 0.16; 'reedy': 0.16; 'stripped': 0.16; 'warn': 0.16; 'language': 0.18; 'guess': 0.19; 'jan': 0.20; 'header:In-Reply-To:1': 0.21; "i'm": 0.27; 'correct': 0.28; 'raise': 0.28; 'tend': 0.32; 'header:X -Complaints-To:1': 0.32; 'does': 0.33; 'to:addr:python-list': 0.33; 'rather': 0.34; "i'll": 0.34; 'however,': 0.34; 'header :User-Agent:1': 0.35; 'function.': 0.35; 'typical': 0.35; 'received:org': 0.38; 'anything': 0.38; 'but': 0.38; 'ok,': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'missing': 0.40; 'designed': 0.65; 'guides': 0.67; 'natural': 0.68; 'guarantee': 0.72; 'destination,': 0.84; 'comparable': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Beginner needs advice
Date Mon, 30 May 2011 21:47:30 -0400
References <BANLkTin+s1rBcJg0aSv=T9+jz_L4hK9Zcg@mail.gmail.com> <irhiq5$5fh$1@dough.gmane.org> <BANLkTim_-VfsApm9Uc60gv8WAzu9uGiV3g@mail.gmail.com> <4DDC7938.5000900@gmail.com> <BANLkTi=JCsVG1K++rz=VAgh_NSVXLe4Edw@mail.gmail.com> <mailman.2070.1306328295.9059.python-list@python.org> <VJODp.4281$wM1.3392@newsfe05.iad> <4ddfc8ae$0$29996$c3e8da3$5496439d@news.astraweb.com> <p%TDp.5771$cs1.3817@newsfe15.iad> <mailman.2180.1306537755.9059.python-list@python.org> <SQXDp.15309$eb4.6@newsfe02.iad> <mailman.2182.1306545444.9059.python-list@python.org> <0XbEp.24071$oq.16802@newsfe17.iad> <mailman.2198.1306612060.9059.python-list@python.org> <bPhEp.38613$Vp.24044@newsfe14.iad> <4de253a9$0$29996$c3e8da3$5496439d@news.astraweb.com> <6GWEp.38791$Vp.28176@newsfe14.iad>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Gmane-NNTP-Posting-Host rain.gmane.org
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
In-Reply-To <6GWEp.38791$Vp.28176@newsfe14.iad>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2287.1306806466.9059.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 82.94.164.166
X-Trace 1306806466 news.xs4all.nl 49179 [::ffff:82.94.164.166]:54147
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:6692

Show key headers only | View raw


On 5/30/2011 8:32 PM, harrismh777 wrote:

>
> However, I guarantee that if I'm dumped unaided in Piccadilly I'll be
> able to hail a cab, pay my £12.00 and get myself to Liverpool Street
> Station, find the bathroom, and be on the correct train just in time for
> dinner, all without looking into the English dictionary.

Because natural language is redundant and most speakers are forgiving, 
while computer language are stripped on much redundancy and their 
interpreters tend to be unforgiving, so a single missing comma or space 
can raise a SyntaxError. Python is designed to do so, and allow/require 
correction, rather than guess and go on.

This is not so bad; what if the cabbie does not understand you but say 
OK, guesses the destination, ignores any protestations, and asks for £30 
at the wrong destination. Following people who deafly say OK and take 
you whereever is a real hazard in some countries. Some tourist guides 
even warn about the practice.

Anyway, 'L i v e r p o o l   S t r e e t   S t a t i o n' is such a 
trivial utterance as to not be comparable to anything as complicated as 
a typical 5-line function.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Beginner needs advice "Colin J. Williams" <cjw@ncf.ca> - 2011-05-25 08:57 -0400
  Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-27 09:40 -0500
    Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-27 15:52 +0000
      Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-27 15:40 -0500
        Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-28 09:09 +1000
          Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-27 20:02 -0500
            Re: Beginner needs advice Ethan Furman <ethan@stoneleaf.us> - 2011-05-27 18:30 -0700
              Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-28 14:21 -0500
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-29 05:47 +1000
                Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-28 21:02 -0500
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-29 12:26 +1000
                Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-29 14:09 +0000
                Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 19:32 -0500
                Re: Beginner needs advice "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2011-05-31 01:58 +0100
                Re: Beginner needs advice Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-30 22:20 -0700
                Re: Beginner needs advice Ben Finney <ben+python@benfinney.id.au> - 2011-05-31 15:48 +1000
                Re: Beginner needs advice MRAB <python@mrabarnett.plus.com> - 2011-05-31 17:59 +0100
                Re: Beginner needs advice Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-31 10:22 -0700
                Re: Beginner needs advice Terry Reedy <tjreedy@udel.edu> - 2011-05-30 21:34 -0400
                Re: Beginner needs advice Terry Reedy <tjreedy@udel.edu> - 2011-05-30 21:47 -0400
                Re: Beginner needs advice Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-30 22:20 -0700
                Re: Beginner needs advice Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-05-30 22:35 -0700
            Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-28 05:40 +0000
        Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-28 06:15 +0000
          Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-28 21:33 -0500
            Re: Beginner needs advice Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-29 02:06 -0600
              Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 19:43 -0500
                Re: Beginner needs advice Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-30 19:16 -0600
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-31 12:27 +1000
                Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 22:02 -0500
            Re: Beginner needs advice Jason Tackaberry <tack@urandom.ca> - 2011-05-29 15:28 -0400
              Re: Beginner needs advice rantingrick <rantingrick@gmail.com> - 2011-05-29 16:00 -0700
                Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-30 09:31 +1000
              Re: Beginner needs advice harrismh777 <harrismh777@charter.net> - 2011-05-30 19:44 -0500
            Re: Beginner needs advice rantingrick <rantingrick@gmail.com> - 2011-05-29 15:15 -0700
            Re: Beginner needs advice Dotan Cohen <dotancohen@gmail.com> - 2011-05-31 20:56 +0300
            Re: Beginner needs advice Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-31 12:29 -0600
            Re: Beginner needs advice Dotan Cohen <dotancohen@gmail.com> - 2011-05-31 21:42 +0300
        Re: Beginner needs advice Dotan Cohen <dotancohen@gmail.com> - 2011-05-29 08:46 +0300
      Re: Beginner needs advice Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-05-28 07:06 +0200
        Re: Beginner needs advice Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-05-28 08:38 +0200
          Re: Beginner needs advice Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-05-28 08:42 +0200
          Re: Beginner needs advice Chris Angelico <rosuav@gmail.com> - 2011-05-28 16:44 +1000
          Re: Beginner needs advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-28 08:13 +0000
        Re: Beginner needs advice "D'Arcy J.M. Cain" <darcy@druid.net> - 2011-05-28 08:38 -0400

csiph-web