Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'subject:Python': 0.05; 'that?': 0.05; 'cc:addr:python-list': 0.10; 'python': 0.11; 'python.': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '31,': 0.22; '2015': 0.23; 'split': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.28; 'arrays': 0.29; 'subject:?': 0.34; 'received:google.com': 0.34; 'depends': 0.36; 'subject:" ': 0.36; 'subject:: ': 0.37; 'pm,': 0.39; 'why': 0.40; 'more': 0.62; 'course': 0.64; 'teach': 0.70; 'chrisa': 0.84; 'idiomatic': 0.84; 'to:none': 0.90 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; bh=7YZShczJZ4Uv3zXHIxobtCwjQIhBI5AWWePXA9MCEmc=; b=GEIDvLyh0q0TOHrxainwTD1SSVsE2owQ3yJfi0Bbxq6v6Lk/iKGsmV/r/GzwDx/QXd oy0AeaBGNdtAp+kXNJbrL+DLUKqUUCCgAc7L/ag53egOdLYtPk+0x4mAcgB3gTZlNMgZ Pr9P3X9R+VgXEAHVUO2xTqhjNewI/6KJpw2E8R2fqM5y3maBi2SUWbG/ezhzchngCwS5 tznISCV/L62ww2C1MEc38Xc66DnGVVTpsaYgPPINquDuZ4ZSOlEYUkjjqUQk4bhLdrI6 uelH3RKWQRbp2H+RdnYHCYL0s0vsZFRlHQAOHbEX/sC9DyOrGApYybvo5tKxz3+Oy/6x 3nQw== MIME-Version: 1.0 X-Received: by 10.50.141.164 with SMTP id rp4mr5959671igb.2.1433046327612; Sat, 30 May 2015 21:25:27 -0700 (PDT) In-Reply-To: References: Date: Sun, 31 May 2015 14:25:27 +1000 Subject: Re: What is considered an "advanced" topic in Python? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433046335 news.xs4all.nl 2863 [2001:888:2000:d::a6]:43420 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91560 On Sun, May 31, 2015 at 1:30 PM, Rustom Mody wrote: > > In a recent course I taught, I used a[0] and a[1:] to split arrays and write > recursive functions a la Haskell in Python. > Is it efficient? no > Is it idiomatic python? NO! > Is it good to do that? That depends on one's priority. > In mine, learning recursion is more important than learning idiomatic python > If recursion is more important than idiomatic Python, why are you using a Python interpreter? Use Python to teach Python, and use Haskell to teach Haskell! ChrisA