2 ms·
Readability might be a fair criticism but syntactic sugar is a weird one, there's not a lot of syntax at all. Multiple ways to do something is a feature, and t
by zimablue 9y ago
Readability might be a fair criticism but syntactic sugar is a weird one, there's not a lot of syntax at all.
Multiple ways to do something is a feature, and there's definitely multiple ways to do things in python:
metaclass vs class decorators
lambdas vs explicit functions (basically the same thing as your no hash example)
map/reduce/filter vs list/generator comprehensions