Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197788
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
| Newsgroups | comp.lang.python |
| Subject | Re: Hack or beauty? |
| Date | Wed, 13 May 2026 21:37:55 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 9 |
| Message-ID | <10u2qvi$30c44$4@dont-email.me> (permalink) |
| References | <10u2hla$2tnlr$1@dont-email.me> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Wed, 13 May 2026 21:37:55 +0000 (UTC) |
| Injection-Info | dont-email.me; logging-data="3158148"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CGOUTjk9ZNXL4PwkCWolr"; posting-host="b65f17f5021f22e5b98b8967ddd8020f" |
| User-Agent | Pan/0.165 (Kostiantynivka) |
| Cancel-Lock | sha1:Kc35apfaRSmSV97XHAHl2RgzffY= sha256:T/jOVLv0wog//rukOmKsXNg7QcZU1tThi+3Uqc+b7jQ= sha1:8gZTAHac3f316gl37pmsHlUlVvA= |
| Xref | csiph.com comp.lang.python:197788 |
Show key headers only | View raw
On Wed, 13 May 2026 13:58:50 -0500, Michael F. Stemper wrote: > for variable in angles if options.angle else comps: The “«true-part» if «cond» else «false-part»” conditional expression syntax in Python is something I consider to be one of the few real mistakes in the design of the language. Every other language adopts the C-style syntax “«cond» ? «true-part» : «false-part»”, but Python had to be different, just for the sake of being different.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
Hack or beauty? "Michael F. Stemper" <michael.stemper@gmail.com> - 2026-05-13 13:58 -0500
Re: Hack or beauty? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-05-13 19:33 +0000
Re: Hack or beauty? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-05-13 21:04 +0000
Re: Hack or beauty? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-14 01:06 +0000
Re: Hack or beauty? "Michael F. Stemper" <michael.stemper@gmail.com> - 2026-05-14 13:25 -0500
Re: Hack or beauty? Mark Bourne <nntp.mbourne@spamgourmet.com> - 2026-05-13 21:52 +0100
Re: Hack or beauty? "Michael F. Stemper" <michael.stemper@gmail.com> - 2026-05-14 08:06 -0500
Re: Hack or beauty? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-13 21:37 +0000
csiph-web