Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed1a.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.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; 'function:': 0.09; 'generators': 0.09; 'subject:skip:c 10': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'loops': 0.16; 'subject: \n ': 0.16; 'subject:between': 0.16; 'subject:programming': 0.16; 'wrote:': 0.18; 'library': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'print': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; '13,': 0.31; 'subject:that': 0.31; 'probably': 0.32; "i'd": 0.34; 'basic': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'clear': 0.37; 'pm,': 0.38; 'how': 0.40; 'advanced': 0.63; 'show': 0.63; 'more': 0.64; '2015': 0.84; 'subject: *': 0.84; 'tie': 0.84; 'notion': 0.91; 'subject:Good': 0.91; 'to:none': 0.92 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:cc :content-type:content-transfer-encoding; bh=VsIldfiW9WARTdbhBKRIFqjOtn2ptxrPjzZtV+7UH/0=; b=kMf6OkDAZBdAbK00MlLNaiVY/gknUoTYrAM9zwA/MLegAekEibeIFg7iObkraxXpgD HGRj4H9xFWL7RTvo9YLE5eeMRVbhLCfLDvmOn+/P7dhrIRYFHYAaeWQD4e/OodYyMyPM RBFCyY9Mo+0HdM+Z71Lwj4UmYHLFzGFoZQzbOuwCcxv681ceiIt5xi63VjioctdYvA4G Il++GGThxjV2ZtctXVfEHMYlzvF9iG6+YNVDpyj1P5yitaPLwB11xxjKYUeMD1GNdxet fqg0D6zRXEW2u/ps12Tr6Ov+5GB1JpOnrDUhU/iZb9PjQo1CK30z0/BPMVpo7UFwmsNj TJBw== MIME-Version: 1.0 X-Received: by 10.43.96.10 with SMTP id ce10mr1107635icc.59.1431497826691; Tue, 12 May 2015 23:17:06 -0700 (PDT) In-Reply-To: References: <02dba7aa-8466-4937-a8d8-82ffd03e5568@googlegroups.com> <87wq0gyvyr.fsf@elektro.pacujo.net> <55515f9d$0$12987$c3e8da3$5496439d@news.astraweb.com> <60c01c07-aef9-4232-92cd-22e6c017fc9c@googlegroups.com> <4628bce6-98d5-44b7-bb3b-bcb796c0df77@googlegroups.com> <5552a591$0$12979$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 13 May 2015 16:17:06 +1000 Subject: Re: Instead of deciding between Python or Lisp for a programming intro course...What about an intro course that uses *BOTH*? Good idea? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431497829 news.xs4all.nl 2914 [2001:888:2000:d::a6]:47591 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90530 On Wed, May 13, 2015 at 3:56 PM, Rustom Mody wrote: >> Yep. I'd also use clear function/procedure names to make it more >> visible, and probably tie this in with loops to show how you can print >> more than one thing but can only return one. (Generators are a more >> advanced topic.) > > [Structure of] Library function: basic > Generator: advanced > > ?=C2=BF?=C2=BF > > If you ask me that's sdrawkcab You think that generators are less advanced than the notion of code reuse?? ChrisA