Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: What is a function parameter =[] for? Date: Fri, 20 Nov 2015 04:30:26 +1100 Lines: 15 Message-ID: References: <564dbe6b$0$1610$c3e8da3$5496439d@news.astraweb.com> <564df258$0$1604$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de 2xvaOrmP1jgpYxHgxzDxww7nvNNO+aIDMeAtXetRe9xg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'feature.': 0.07; 'cc:addr :python-list': 0.09; 'interpreter,': 0.09; 'language,': 0.11; 'languages,': 0.15; 'brand-new': 0.16; 'comparison.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'implementing': 0.18; 'language': 0.19; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'so.': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'message- id:@mail.gmail.com': 0.27; "i'm": 0.30; 'certainly': 0.30; 'somebody': 0.30; 'anyone': 0.32; "can't": 0.32; 'implement': 0.32; "d'aprano": 0.33; 'steven': 0.33; 'skip:d 20': 0.34; 'received:google.com': 0.35; 'nov': 0.35; "isn't": 0.35; 'sometimes': 0.35; 'but': 0.36; 'received:209.85': 0.36; '(and': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'late': 0.38; 'received:209': 0.38; 'sure': 0.39; 'does': 0.39; 'some': 0.40; 'your': 0.60; 'claim': 0.61; 'six': 0.65; '20,': 0.66; 'yourself': 0.73; 'chrisa': 0.84; 'hard.': 0.84; 'to:none': 0.91; 'instant': 0.98 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=F0Z3ssVxy8RuEXH7c4aTDu0qXw2aDHb3EXpUYu47dgI=; b=LGuBjDep3BmjQbjAlYF5BFRenn8Mxf5zheq2FpCW7qtmqLSsoFz+kX9d2vS1H3q2Sz ZRsUB55cSWkHkyX3hQKvUkljASr7wKsVdplyMFMh8H/TlKTwswCPDfVaON+5y7vjsa8z HhjXKsjbP7tmJDSDmAGfjMSwk7AQrvPaspUWPf6J+U8QRVSZgIs9i+B/k8Q/Mdr/rQwH GbSGerL1IZJVhWdSQLXSmvnP50yOK8s+cR853dlI59zv+TSgMer/udmIvW13/OthfeGA XUcp5Nu8NWzPqcrCwdmkbbaU3WihIVR3VqB/M6zSBnB5GWB1XdAqRCskopDiJrPYKab0 lHQg== X-Received: by 10.50.93.72 with SMTP id cs8mr10052785igb.13.1447954226487; Thu, 19 Nov 2015 09:30:26 -0800 (PST) In-Reply-To: <564df258$0$1604$c3e8da3$5496439d@news.astraweb.com> 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: , Xref: csiph.com comp.lang.python:99073 On Fri, Nov 20, 2015 at 3:01 AM, Steven D'Aprano wrote: > You know, for somebody who claims to design and implement your own > languages, you sometimes go to a remarkable effort to claim to be a dummy. > You write your own interpreter, but can't understand early versus late > binding? I don't think so. I'm not sure that's such a fair comparison. Anyone can design a brand-new language, and even implementing one isn't all that hard. If you don't understand other languages, you can certainly create the one that always does what you think most intuitive, right at the instant when you designed/implemented some feature. What's hard is designing a clean language that does what _someone else_ expects. (And that includes yourself in six months.) ChrisA