Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'languages.': 0.04; 'syntax': 0.04; 'subject:Python': 0.06; "people's": 0.09; 'cc:addr :python-list': 0.11; 'anyway': 0.14; '(actually': 0.16; '*i*': 0.16; 'bytecode': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'java.': 0.16; 'language?': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'instance,': 0.24; 'simpler': 0.24; 'java': 0.24; 'file.': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'languages': 0.32; 'quite': 0.32; 'maybe': 0.34; 'subject: (': 0.35; 'created': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:New': 0.37; 'two': 0.37; 'personal': 0.63; 'different': 0.65; '2015': 0.84; 'compiles': 0.84; 'to:none': 0.92 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=S1WdBwzFNe+HL499aua4MgvYue4hB0RFK0JsNkxyvMQ=; b=uX9U+RPLzoy6GGrk8Mdt3nKEeWY4PbYBMUIhdLBCVX+EiOJ5rlQjkMhAOKMYK9L73H uT/p/lnf2JXSdV2Sc/VZb53BINZKDVYhW3ww6FE2Qz5QDxonxhhbuwHS/vLeCVH2V09+ d6bxlI5DNn9QK3MA6Kc03migs+mxFv89v+zE8zvp5CtwWj1HRUWfegJSNOGU8uTo/gqH Dj9xCq4cQGMSE1K2G9q3vOvAx/lUJx91cDA4qBF93x/R5MNGYXIFUFh2UMTmGuhF7uxO XwP+YXxHTLVkIahyvaOdExcrDTrLd117rbyTjuLBLGIpV1ov1x10kPuVT8fhd2vAUkjJ OIxg== MIME-Version: 1.0 X-Received: by 10.43.39.1 with SMTP id tk1mr5780499icb.26.1429305050580; Fri, 17 Apr 2015 14:10:50 -0700 (PDT) In-Reply-To: References: <9fc57fc9-0399-4ff3-882a-d041f02827d8@googlegroups.com> <6580b5d5-92f5-4bfa-b1d0-889c69fe82bb@googlegroups.com> Date: Sat, 18 Apr 2015 07:10:50 +1000 Subject: Re: New to Python - block grouping (spaces) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1429305058 news.xs4all.nl 2897 [2001:888:2000:d::a6]:42013 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89091 On Sat, Apr 18, 2015 at 3:05 AM, BartC wrote: > (Actually *I* would quite like to know why languages don't have switchable > syntax anyway to allow for people's personal preferences.) Why do it? What's the advantage of calling two different syntaxes one language? Simpler to just call them two separate languages - maybe two languages that share some sort of runtime, but two languages. For instance, Java bytecode doesn't have to be created from Java source code, but we don't consider NetRexx to be a "switchable syntax" for Java. It's a completely separate language that compiles to a .class file. ChrisA