Message150693
| Author |
zbysz |
| Recipients |
Arfrever, amaury.forgeotdarc, denilsonsa, giampaolo.rodola, loewis, neologix, pitrou, rosslagerwall, zbysz |
| Date |
2012年01月05日.21:24:53 |
| SpamBayes Score |
2.1274682e-05 |
| Marked as misclassified |
No |
| Message-id |
<1325798693.8.0.0681137479856.issue13609@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I haven't read much of this issue, but I strongly dislike the use of
> named tuples.
I don't really have a very strong opinion, but (cols, rows) does seem a lot like a tuple -- it really is just a pair of values without other function or state. Still I would much prefer to say
get_terminal_size().columns
than
get_terminal_size()[0]
So a bare tuple seems like the worst choice. |
|