Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.066 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.01; '#define': 0.07; 'subject:code': 0.07; 'endif': 0.09; '"create': 0.16; 'assignments,': 0.16; 'etc...': 0.16; 'received:192.168.1.50': 0.16; 'syntactical': 0.16; 'wrote:': 0.17; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'language.': 0.27; 'agreed.': 0.29; 'johnson': 0.32; 'to:addr:python-list': 0.33; 'pm,': 0.35; 'possible': 0.37; 'does': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'received:62': 0.62; 'wish': 0.70; 'etc,': 0.84; 'from:addr:t': 0.84; 'received:62.75': 0.84; 'rick': 0.91 Date: Mon, 02 Jul 2012 21:06:46 +0200 From: Thomas Jollans User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: code review References: <4FEF7117.7000109@jollybox.de> <4fefb0ad$0$29988$c3e8da3$5496439d@news.astraweb.com> <4fefcf72$0$29988$c3e8da3$5496439d@news.astraweb.com> <4fefedd8$0$29988$c3e8da3$5496439d@news.astraweb.com> <4ff0f939$0$29988$c3e8da3$5496439d@news.astraweb.com> <4ff157a4$0$30001$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341256009 news.xs4all.nl 6911 [2001:888:2000:d::a6]:50828 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24785 On 07/02/2012 08:22 PM, Rick Johnson wrote: > Agreed. I wish we had one language. One which had syntactical > directives for scoping, blocks, assignments, etc, etc... > > BLOCK_INDENT_MARKER -> \t > BLOCK_DEDENT_MARKER -> \n > STATEMENT_TERMINATOR -> \n > ASSIGNMENT_OPERATOR -> := > CONDITIONAL_IF_SPELLING -> IF > CONDITIONAL_ELSE_SPELLING -> EL > ... You must be joking. In C, for example, it is possible to "create your own language" by going #define IF(cond) if (cond) { #define ELSE } else { #define ELIF(cond) } else if (cond) { #define ENDIF } and so on. There's a reason nobody does it.