Re:Unpythonic Python
by mmagin on Wednesday April 09, 2014 @08:50PM
(#7563561)
Doesn't even touch on my personal pet peeve, people who don't use list and dict literals. I assume they're former Java programmers who got ahold of enough python knowledge to be dangerous. e.g:
[ Parent
| on HN ]
Re:Unpythonic Python
by prescindor on Thursday April 10, 2014 @03:04AM
(#7564573)
You can say
x = dict(a = 'string', b = list(('foo', 'bar')))