Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.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: OK 0.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'static': 0.04; 'main()': 0.09; 'snippet': 0.09; 'missed': 0.12; 'language.': 0.14; 'posted': 0.15; '"hello': 0.16; '(lambda': 0.16; 'braces': 0.16; 'parentheses': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.18; 'result.': 0.19; '>>>': 0.22; "haven't": 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'have,': 0.30; 'list:': 0.30; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'anonymous': 0.31; 'maybe': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'scheme': 0.36; "i'll": 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'aside': 0.39; 'heard': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'ian': 0.60; 'more': 0.64; '(let': 0.84; '(main)': 0.84; 'can:': 0.84; 'pardon': 0.84; 'hand,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=VlgFs4iZ3xWm+m+Vrnjrie6OEH7S0H3w1KjCSMbcZf0=; b=UgY6T7Ue0D1nZPOmPyHXkfc7Qa7VJRtUJ7gx3flIR8szKf7xAK2ViwjCNWYzE+NhlK 5W7Ia3Tx+453DL3wM4WZxhlIIjhSJZqhUljeci+L4DQxYKMJuo8xHBnXWCB0aH4ufhSp Qs2D+5TCdeX8xTr8nCmAKEbSKt5VBmVuXFg3Bc2qqejnz0c9O24fjQzWntAK0TqRU0RN WYisN5tFvtjC9wsuCwCNQl06Fnc3/eZRrlPCQIdtldKUkekAC+TCcHtY7GGYdJEgsAOu xDhKqwE6jPuv6C9uaG3+FZinZor3SdyJAO+S++THfJ5nkJAcViIU/d6Bcq0BMOCw6XHV wj6Q== X-Received: by 10.68.135.195 with SMTP id pu3mr30577625pbb.70.1396346321808; Tue, 01 Apr 2014 02:58:41 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87txadtmwq.fsf@elektro.pacujo.net> References: <5331D902.3030902@gmail.com> <53321819$0$29994$c3e8da3$5496439d@news.astraweb.com> <53393BA4.2080305@rece.vub.ac.be> <5339C281.7080300@rece.vub.ac.be> <533A768F.5080102@rece.vub.ac.be> <87txadtmwq.fsf@elektro.pacujo.net> From: Ian Kelly Date: Tue, 1 Apr 2014 03:58:00 -0600 Subject: Re: unicode as valid naming symbols To: Python Content-Type: text/plain; charset=ISO-8859-1 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: 51 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396346325 news.xs4all.nl 2909 [2001:888:2000:d::a6]:41446 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69500 On Tue, Apr 1, 2014 at 3:32 AM, Marko Rauhamaa wrote: > Ian Kelly : > >> On Tue, Apr 1, 2014 at 2:19 AM, Antoon Pardon >>> Which will give me the normal result. Maybe I missed it but I haven't >>> heard scheme being called an unreadable language. >> >> Well, I have, but I think that usually has more to do with an excess >> of parentheses. > > If you count braces as parentheses, there are about the same number of > parentheses in scheme and C: > > int main() > { > printf("Hello world\n"); > return 0; > } > > (define (main) > (format #t "Hello world\n") > 0) > > C: 6 > Scheme: 6 On the other hand, you recently posted this snippet to the list: ((let ((n 3)) (let ((f (lambda () n))) (set! n 7) f))) Setting aside the fact that C doesn't have anonymous functions, I'll approximate it as best I can: static int n = 3; int f() { return n; } int main() { n = 7; return f(); } C: 10 Scheme: 20