Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Late-binding of function defaults (was Re: What is a function parameter =[] for?) Date: Wed, 25 Nov 2015 19:32:29 +1100 Lines: 28 Message-ID: References: <87d1v5emhl.fsf@elektro.pacujo.net> <564e6a62$0$1620$c3e8da3$5496439d@news.astraweb.com> <56556DF8.1080407@rece.vub.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de B76Njpr9DanvGGl8sXvLbwdiCPGjDdBg6aP8+HHuOOpg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.09; '"but': 0.09; 'python': 0.10; '"this': 0.13; 'wed,': 0.15; 'subject: \n ': 0.15; 'arithmetic.': 0.16; 'confusion': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'helping.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:?)': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'trying': 0.22; 'header:In-Reply- To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'tend': 0.27; 'arithmetic': 0.29; "people's": 0.29; "can't": 0.32; 'point': 0.33; 'point,': 0.33; 'add': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'nov': 0.35; 'something': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'basic': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'aspects': 0.37; 'received:209': 0.38; 'wrong': 0.38; 'why': 0.39; 'system.': 0.39; 'easily': 0.39; 'subject:-': 0.39; 'still': 0.40; 'some': 0.40; 'your': 0.60; 'skip:u 10': 0.61; 'more': 0.63; 'different': 0.63; 'else.': 0.66; 'expert': 0.70; 'chrisa': 0.84; 'confusion.': 0.84; 'disappear': 0.84; "it'd": 0.84; 'pardon': 0.84; 'to:none': 0.91 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=hZuhHlWlz/wDleqoxbs2FucnX5riuPurB4fULkvpTEY=; b=ltRN+IEAeZCA2bppXG7KHwUhTk8KB3nX+M4c/IGATTsaPXClMk/ejJxcrkh+ZUFaD0 2SLb6GZwtnlt9uiZQ0uNV8NdB4vVojgvb/kjJa10/nkU8jFk6ZPq4UG8UTVxL++igjID H8z4uAqRVVQ2btdBeFE2Z+jmE92t4+b6xxNtEfoGz4B+B0tLbjSNoUuwxKW5RwmhWx6B HnOTwwolicocVUNdd6e/VNdSlmU+henYxvWiE9GNnJy/9AlJEmhFlTT69Exa/uFLYIJx NTwiRQ8KF0E5ZgliMkk/kLsb28E0sN5zM3P1quWZR2U+fZeKPPkVpKPKW1EGdmLHUU3b StrQ== X-Received: by 10.107.16.84 with SMTP id y81mr32056873ioi.19.1448440350014; Wed, 25 Nov 2015 00:32:30 -0800 (PST) In-Reply-To: <56556DF8.1080407@rece.vub.ac.be> 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:99421 On Wed, Nov 25, 2015 at 7:14 PM, Antoon Pardon wrote: > What exactly is your point? People's confusions don't disappear > because you as an expert have a good understanding of what is > going on and so are no longer confused. > > Some aspects in the langauage are easily grasped and other > aspects tend to create confusion. I see nothing wrong with > people trying to point out what the cause of this confusion > could be. You arguing that people shouldn't be confused is > not helping. "Oh come on. It's basic arithmetic. You should be able to add 7 and 7... the result's 14!" "But it's so confusing. Why can't it be 16? It'd be more convenient for me if it were 16." "This is just how arithmetic works." "But it's still confusing!" At some point, you have to simply accept that this is how the system works.. or use a different system. (Octal maybe.) If you are perpetually confused by Python, you need to either learn how Python works, or use something else. ChrisA