Re:Why People Should Learn Python
by sedeki on Wednesday August 24, 2016 @06:00AM
(#12350851)
What do you mean by inconsistent syntax?
[ Parent
| on HN ]
Why does Python use methods for some functionality (e.g. list.index()) but functions for other (e.g. len(list))?
http://effbot.org/pyfaq/why-does-python-use-methods-for-some...
I guess is that.
Re:Why People Should Learn Python
by curiousssly on Wednesday August 24, 2016 @06:46AM
(#12351028)
Collection library has:
deque
defaultdict
Counter
After many years I often write DefaultDict myself.Edit: formatting