OT: This Swift thing

Mark H Harris harrismh777 at gmail.com
Tue Jun 3 17:49:55 EDT 2014


On 6/3/14 3:43 PM, Sturla Molden wrote:
> Nicholas Cole <nicholas.cole at gmail.com> wrote:
 > {snip}
> Unfortunately they retained the curly brackets from JS...
>

The curly braces come from C, and before that B and A/.

(I think others used them too before that, but it escapes me now and I'm 
too lazy to google it)

... but the point is that curly braces don't come from JS !

I have been engaged in a minor flame debate (locally) over block 
delimiters (or lack thereof) which I'm loosing. Locally, people hate 
python's indentation block delimiting, and wish python would adopt curly 
braces. I do not agree, of course; however, I am noticing when new 
languages come out they either use END (as in Julia) or they propagate 
the curly braces paradigm as in C.   The issue locally is trying to pass 
code snippets around the net informally is a problem with indentation. 
My reply is, well, don't do that. For what I see as a freedom issue, 
folks want to format their white space (style) their way and don't want 
to be forced into an indentation paradigm that is rigid (or no so much!).

We even have a couple of clucks on our side of the world that refuse to 
even get their feet wet in python because they hate the indentation 
paradigm.


marcus




More information about the Python-list mailing list