Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: What is a function parameter =[] for? Date: Thu, 19 Nov 2015 18:20:34 +0000 Lines: 31 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=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de Z3/qfzUCivNQH0lw4THAkwl6s5eWIRNVnhNTkxLouhPA== Return-Path: 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; 'from:addr:yahoo.co.uk': 0.05; 'so?': 0.07; 'called.': 0.09; 'interpreter,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'wrong,': 0.09; 'python.': 0.11; 'interpreter': 0.15; 'languages,': 0.15; 'all"': 0.16; 'debated': 0.16; 'fits': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'language': 0.19; '2015': 0.20; 'so.': 0.22; 'lawrence': 0.22; 'am,': 0.23; "python's": 0.23; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'fri,': 0.27; 'least': 0.27; 'values': 0.28; 'somebody': 0.30; 'another': 0.32; "can't": 0.32; 'implement': 0.32; 'language.': 0.32; 'maybe': 0.33; 'problem': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'nov': 0.35; 'sometimes': 0.35; 'but': 0.36; 'there': 0.36; 'to:addr :python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'expect': 0.37; 'received:org': 0.37; 'doing': 0.38; 'late': 0.38; 'someone': 0.38; 'whatever': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'called': 0.40; 'your': 0.60; 'claim': 0.61; 'default': 0.61; 'charset:windows-1252': 0.62; 'our': 0.64; 'else.': 0.66; 'subject': 0.70; 'pythonistas,': 0.84; '"one': 0.91; 'alone.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 195.147.230.164 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: 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:99079 On 19/11/2015 17:30, BartC wrote: > On 19/11/2015 16:01, Steven D'Aprano wrote: >> On Fri, 20 Nov 2015 12:19 am, BartC 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. > > No I don't; so? Maybe my interpreter can do its thing without being > aware that what it's doing has been called 'late binding' or 'early > binding' by someone else. > > At least its default values work as expected! > Python's default values work exactly as I expect as the subject has been debated at least twice a year on c.l.py for the 15 or so years that I've been using Python. If your expectations are clearly wrong, that is your problem and your problem alone. A solution to your problem is another language that does meet all of your expectations, but as there is never a "one size fits all" the only one that I can think of is your own, whatever that is called. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence