Message150693
> 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. |
|
Date |
User |
Action |
Args |
2012-01-05 21:24:53 | zbysz | set | recipients:
+ zbysz, loewis, amaury.forgeotdarc, pitrou, giampaolo.rodola, Arfrever, denilsonsa, neologix, rosslagerwall |
2012-01-05 21:24:53 | zbysz | set | messageid: <1325798693.8.0.0681137479856.issue13609@psf.upfronthosting.co.za> |
2012-01-05 21:24:53 | zbysz | link | issue13609 messages |
2012-01-05 21:24:53 | zbysz | create | |
|