Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60220
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Having trouble setting up an extremely simple server... |
| Date | 2013-11-22 08:41 -0500 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-36FCE4.08412822112013@news.panix.com> (permalink) |
| References | <9e773107-5a6c-486b-bef2-186101d8f141@googlegroups.com> <roy-F7D4A2.21331321112013@news.panix.com> <ac9aae1d-b86c-4ea0-b41f-a044e053a932@googlegroups.com> <528eec7a$0$29992$c3e8da3$5496439d@news.astraweb.com> |
In article <528eec7a$0$29992$c3e8da3$5496439d@news.astraweb.com>, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > There are all sorts of things that you can do that don't make your code > "wrong" but do make it difficult to deal with. Why stop with semi-colons? > > import socket; pass; pass; pass; pass; pass; > serverReady = ((True is True) is True) is True) is True); > serverSock = socket . \ > socket( > socket . \ > AF_INET \ > , \ > socket . \ > SOCK_STREAM \ > ) \ > ; Steve, you're just worried about how readable some Python code is. All I can say to that is #firstworldproblem. There's bigger issues at stake here. One thing to be aware of is that semicolons are valuable on the world punctuation spot market. Somewhere, right now, in Greenwich or Stamford, or maybe Tribeca, in some hedge-fund sweat shop, there's a C++ programmer who can't afford to write a for(;;) loop because he doesn't have enough semicolons. Why? Because the world punctuation markets can't handle the added buy-side pressure from new Python programmers using the wrong punctuation. Also, every semicolon we save can be broken down and res-used as TWO decimal points! The Americans use the top part, most other places use the bottom part. It's like a punctuation breeder reactor. One piece goes in, and two come out. So, really. Cut it out with the semicolons. If you won't do it for us, think of the hedge-fund coders.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Having trouble setting up an extremely simple server... cilantromc@gmail.com - 2013-11-21 17:56 -0800
Re: Having trouble setting up an extremely simple server... Roy Smith <roy@panix.com> - 2013-11-21 21:33 -0500
Re: Having trouble setting up an extremely simple server... Cilantro MC <cilantromc@gmail.com> - 2013-11-21 18:36 -0800
Re: Having trouble setting up an extremely simple server... Roy Smith <roy@panix.com> - 2013-11-21 21:50 -0500
Re: Having trouble setting up an extremely simple server... Ned Batchelder <ned@nedbatchelder.com> - 2013-11-21 18:58 -0800
Re: Having trouble setting up an extremely simple server... Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-11-22 17:02 +1300
Re: Having trouble setting up an extremely simple server... Chris Angelico <rosuav@gmail.com> - 2013-11-22 15:30 +1100
Re: Having trouble setting up an extremely simple server... Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-22 05:32 +0000
Re: Having trouble setting up an extremely simple server... rusi <rustompmody@gmail.com> - 2013-11-21 21:45 -0800
Re: Having trouble setting up an extremely simple server... Roy Smith <roy@panix.com> - 2013-11-22 08:41 -0500
Re: Having trouble setting up an extremely simple server... Chris Angelico <rosuav@gmail.com> - 2013-11-23 01:16 +1100
csiph-web