Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72642

Re: OT: This Swift thing

From Mark H Harris <harrismh777@gmail.com>
Newsgroups comp.lang.python
Subject Re: OT: This Swift thing
Date 2014-06-04 09:53 -0500
Organization Aioe.org NNTP Server
Message-ID <lmnbsn$jlv$1@speranza.aioe.org> (permalink)
References (1 earlier) <CANc-5UyPyvGJRizcz2f7N=KPvo3TH6LcWGxeSWHbgOm1XvYUuA@mail.gmail.com> <CAAu18hd8Spu98vcx6M+JQqZiYXXXu38et1i2quSNy506i=ESYA@mail.gmail.com> <mailman.10642.1401828200.18130.python-list@python.org> <lmlftv$6ii$1@speranza.aioe.org> <mailman.10703.1401891868.18130.python-list@python.org>

Show all headers | View raw


On 6/4/14 9:24 AM, Skip Montanaro wrote:
> Surely your local colleagues realize that Python has been around for
> 20-odd years now, that indentation-based block structure has been
> there since Day One, and that it's not going to change, right?
>
     Yup. Its the primary argument on the side for indentation. "... and 
don't call me Surely"    :-)

> {snip}
>
> Why are you people even having this discussion?
>

     The topic came up because the C/C++ coders were being encouraged to 
try Python3 as the language of choice for a new project, and someone 
said they would never consider Python for a project primary language 
because of indentation block delimiting. The whole debate, as in most 
flames, was stupid. The primary paradigm on this topic locally is that 
indents are bad because malformed or mangled code cannot be reformatted 
easily (if at all).

     From my own perspective, if you tell me I need to use END, ok.  If 
I need to use {} , well ok, and if the BDFL says we use indents here, 
well that's cool tool.

     Getting back to Swift, did they choose {} braces because JS uses 
them, or did they choose {} braces because 'they' think most people will 
want that style?

marcus

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: OT: This Swift thing Sturla Molden <sturla.molden@gmail.com> - 2014-06-03 20:43 +0000
  Re: OT: This Swift thing Marko Rauhamaa <marko@pacujo.net> - 2014-06-04 00:19 +0300
    Re: OT: This Swift thing Steven D'Aprano <steve@pearwood.info> - 2014-06-04 04:30 +0000
      Re: OT: This Swift thing Marko Rauhamaa <marko@pacujo.net> - 2014-06-04 08:23 +0300
  Re: OT: This Swift thing Mark H Harris <harrismh777@gmail.com> - 2014-06-03 16:49 -0500
    Re: OT: This Swift thing Chris Angelico <rosuav@gmail.com> - 2014-06-04 08:01 +1000
    Re: OT: This Swift thing "Eric S. Johansson" <esj@harvee.org> - 2014-06-03 19:22 -0400
    Re: OT: This Swift thing Chris Angelico <rosuav@gmail.com> - 2014-06-04 09:29 +1000
    Re: OT: This Swift thing "Eric S. Johansson" <esj@harvee.org> - 2014-06-03 19:36 -0400
    Re: OT: This Swift thing Steven D'Aprano <steve@pearwood.info> - 2014-06-04 04:54 +0000
      Re: OT: This Swift thing Mark H Harris <harrismh777@gmail.com> - 2014-06-04 09:43 -0500
    Re: OT: This Swift thing Skip Montanaro <skip@pobox.com> - 2014-06-04 09:24 -0500
      Re: OT: This Swift thing Mark H Harris <harrismh777@gmail.com> - 2014-06-04 09:53 -0500
        Re: OT: This Swift thing Terry Reedy <tjreedy@udel.edu> - 2014-06-04 18:18 -0400
          Re: OT: This Swift thing Mark H Harris <harrismh777@gmail.com> - 2014-06-04 18:23 -0500
            Re: OT: This Swift thing Terry Reedy <tjreedy@udel.edu> - 2014-06-04 22:43 -0400
              Re: OT: This Swift thing Steven D'Aprano <steve@pearwood.info> - 2014-06-05 08:39 +0000
                Re: OT: This Swift thing Chris Angelico <rosuav@gmail.com> - 2014-06-05 18:52 +1000
                Re: OT: This Swift thing Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-06-05 08:27 -0400
                Re: OT: This Swift thing Rustom Mody <rustompmody@gmail.com> - 2014-06-05 05:56 -0700
                Re: OT: This Swift thing Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-05 15:12 +0000
                Re: OT: This Swift thing Rustom Mody <rustompmody@gmail.com> - 2014-06-05 08:39 -0700
                Re: OT: This Swift thing Rustom Mody <rustompmody@gmail.com> - 2014-06-05 08:44 -0700
                Tabs (was Re: OT: This Swift thing) Terry Reedy <tjreedy@udel.edu> - 2014-06-05 15:05 -0400
                Re: Tabs (was Re: OT: This Swift thing) Terry Reedy <tjreedy@udel.edu> - 2014-06-05 18:23 -0400
                Re: Tabs (was Re: OT: This Swift thing) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-06-05 20:52 -0400
        Re: OT: This Swift thing CHIN Dihedral <dihedral88888@gmail.com> - 2014-06-15 03:08 -0700
    Re: OT: This Swift thing Michael Torrie <torriem@gmail.com> - 2014-06-04 09:00 -0600
    Re: OT: This Swift thing Chris Angelico <rosuav@gmail.com> - 2014-06-05 01:26 +1000
  Re: OT: This Swift thing Kevin Walzer <kw@codebykevin.com> - 2014-06-03 19:39 -0400
    Re: OT: This Swift thing Sturla Molden <sturla.molden@gmail.com> - 2014-06-04 01:53 +0200
  Re: OT: This Swift thing Andrea D'Amore <anddamNOALPASTICCIODICARNE+gruppi@brapi.net> - 2014-06-04 09:47 +0200

csiph-web