Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88185
| References | <CAPauRLMMAT-OffHTYW6GPybAZzouc7H9BjrmvVQiSig0X3x+ig@mail.gmail.com> |
|---|---|
| Date | 2015-03-27 15:51 -0500 |
| Subject | Re: Proposal for new minor syntax |
| From | Skip Montanaro <skip.montanaro@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.279.1427489496.10327.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Interesting concept. I suppose it offers some small optimization opportunities, and clearly saves some possibly error-prone typing. You construct the object on the left-hand side, then just DUP_TOP to get its use on the RHS. A couple comments though: * "dot" is pretty invisible unless surrounded by stuff on both sides (as when used like "hello.strip()"). The canyon formed by the characters on either side, and the mostly white space in the middle tends to make it more visible. That's less the case when it's bounded by white space on one side. * Probably better to propose it on python-ideas. * Ideas are always better received when accompanied by working code. :-) Skip
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Proposal for new minor syntax Skip Montanaro <skip.montanaro@gmail.com> - 2015-03-27 15:51 -0500
csiph-web