Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86620
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.011 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'column': 0.07; 'element': 0.07; '"if': 0.09; '(instead': 0.09; 'counting': 0.09; 'sql,': 0.09; 'cc:addr:python-list': 0.11; '(people': 0.16; '*no*': 0.16; 'ascending': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'likewise': 0.16; 'part-way': 0.16; 'syntactic': 0.16; 'unavailable': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'sort': 0.25; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'went': 0.31; 'apparently': 0.31; 'keywords,': 0.31; 'style': 0.33; 'there,': 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'keyword': 0.36; 'words,': 0.36; 'example,': 0.37; 'pm,': 0.38; 'either': 0.39; 'even': 0.60; 'affect': 0.61; 'lower': 0.61; 'reserved': 0.61; 'skip:n 10': 0.64; 'here': 0.66; 'to,': 0.72; '2015': 0.84; "it'd": 0.84; 'subject:Practices': 0.84; 'notion': 0.91; 'write:': 0.91; '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=xJ3kD/80cavquTxvJJ7K+pf6T1jv5GZRsKe7407pYxc=; b=H2KK5RwFhDdCNB16jbZA7IoZfbEeZrVZleD7Y4X5+bNKZhUaZ6n8fMKYLbNDOMCrfR 7EIOusoguv3fVL1KjKGoM9ThPo56DBQrEKY/sDAhZH4drMY6GZ8qIw3wK236/emSpeHt axv7aJ2dR9NRK26mhBfsN9bjHEEUQvlCg42b4IeYHxCn06aao8SIsdyMR07RWLj7c1AE EhKXgClfE4tmWpikGPtfgziSvtdIx3TgApupo+QbLvuoMUdMNToGPLSHXBMWFOjKgCjm ZcGi/k7ESyxpZZxwCTRb5bBWCG4kh1rDX2b0GnOLY+UBGPdSSedEqAza6dxbPgryO2fE eBiw== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.4.40 with SMTP id h8mr9373677igh.34.1425127506059; Sat, 28 Feb 2015 04:45:06 -0800 (PST) |
| In-Reply-To | <5WgIw.887352$w_7.20106@fx38.am4> |
| References | <mclca6$iie$1@ger.gmane.org> <mailman.19318.1425072098.18130.python-list@python.org> <54f1154c$0$12985$c3e8da3$5496439d@news.astraweb.com> <5WgIw.887352$w_7.20106@fx38.am4> |
| Date | Sat, 28 Feb 2015 23:45:05 +1100 |
| Subject | Re: Python Worst Practices |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19333.1425127515.18130.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1425127515 news.xs4all.nl 2935 [2001:888:2000:d::a6]:42586 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:86620 |
Show key headers only | View raw
On Sat, Feb 28, 2015 at 9:39 PM, BartC <bc@freeuk.com> wrote: > (People here would like PL/I then which apparently has *no* reserved words, > so you can write: "if if=then then ...") Likewise REXX has no reserved words; also, SQL went part-way there, with the notion of "non-reserved keywords". For example, "ORDER" and "BY" are reserved keywords, so they are unavailable as table/column names, but "NULLS" is non-reserved. You could use it, if you wanted to, but it's a syntactic element in some contexts. You can say "ORDER BY some_column NULLS FIRST" or "NULLS LAST" to affect the ordering; you can even say "ORDER BY NULLS NULLS FIRST", which will sort by a column named NULLS, in ascending order, but counting NULL as lower than everything (instead of higher than everything). Given the style of SQL, it'd be insanely restrictive if it had to have everything be either a keyword or nothing, so this is a good half-way-house. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Python Worst Practices Travis Griggs <travisgriggs@gmail.com> - 2015-02-27 13:21 -0800
Re: Python Worst Practices Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-28 12:09 +1100
Re: Python Worst Practices sohcahtoa82@gmail.com - 2015-02-27 17:32 -0800
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 12:44 +1100
Re: Python Worst Practices Christian Gollwitzer <auriocus@gmx.de> - 2015-03-03 09:51 +0100
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-03 22:12 +1100
Re: Python Worst Practices Christian Gollwitzer <auriocus@gmx.de> - 2015-03-03 23:46 +0100
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-04 10:12 +1100
Re: Python Worst Practices Christian Gollwitzer <auriocus@gmx.de> - 2015-03-04 21:27 +0100
Re: Python Worst Practices Dan Sommers <dan@tombstonezero.net> - 2015-02-28 04:42 +0000
Re: Python Worst Practices Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-28 17:36 +1100
Re: Python Worst Practices Dan Sommers <dan@tombstonezero.net> - 2015-02-28 07:50 +0000
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 19:55 +1100
Re: Python Worst Practices Ethan Furman <ethan@stoneleaf.us> - 2015-02-27 23:51 -0800
Re: Python Worst Practices Marko Rauhamaa <marko@pacujo.net> - 2015-02-28 10:50 +0200
Re: Python Worst Practices Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-28 01:48 -0700
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 19:58 +1100
Re: Python Worst Practices Tim Chase <python.list@tim.thechases.com> - 2015-02-27 21:50 -0600
Re: Python Worst Practices Cousin Stanley <cousinstanley@gmail.com> - 2015-02-28 09:03 -0700
Re: Python Worst Practices Rustom Mody <rustompmody@gmail.com> - 2015-02-28 08:16 -0800
Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-02-28 17:56 +0000
Re: Python Worst Practices Ethan Furman <ethan@stoneleaf.us> - 2015-02-28 10:13 -0800
Re: Python Worst Practices Tim Chase <python.list@tim.thechases.com> - 2015-02-28 12:30 -0600
Re: Python Worst Practices Tim Chase <python.list@tim.thechases.com> - 2015-02-28 12:39 -0600
Re: Python Worst Practices BartC <bc@freeuk.com> - 2015-02-28 10:39 +0000
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 23:45 +1100
Re: Python Worst Practices Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-03-01 13:29 +1300
csiph-web