Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.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: UNSURE 0.236 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.73; '*S*': 0.20; 'python,': 0.02; 'guido': 0.05; '"good': 0.16; 'expression.': 0.16; 'received:192.168.1.4': 0.16; 'subject:Programming': 0.16; 'subject:python': 0.16; 'header :User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'points': 0.29; "doesn't": 0.30; '(since': 0.31; 'programmers': 0.33; 'but': 0.35; 'crazy': 0.36; 'limitations': 0.36; 'two': 0.37; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'optimized.': 0.84; 'pardon': 0.84; 'prefers': 0.84; 'received:195.238': 0.84; 'received:195.238.6': 0.84; 'received:belgacom.be': 0.84; 'received:isp.belgacom.be': 0.84; '2013,': 0.91; 'approach.': 0.91 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAMvBSVJQyFq6/2dsb2JhbAANTMITgnuBR4MZAQEBAwE4QAYLCyEWDwkDAgECAUUTCAKHfKp7ihKJE44SgUYWhAwDl3+VH4Fm Date: Mon, 30 Sep 2013 20:29:01 +0200 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130922 Icedove/17.0.9 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Functional Programming and python References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 30 Sep 2013 21:21:19 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380568879 news.xs4all.nl 15868 [2001:888:2000:d::a6]:54821 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55103 Op 30-09-13 19:04, Franck Ditter schreef: > > Good approach of FP in Python, but two points make me crazy : > 1. Tail recursion is not optimized. We are in 2013, why ? This is known technology (since 1960). > And don't answer with "good programmers don't use recursion", this is bullshit. Guido doesn't like it. > 2. Lambda-expression body is limited to one expression. Why ? > Why the hell those limitations ? In this aspect, Javascript has a cooler approach. Guido prefers it that way. -- Antoon Pardon