Live data from Hacker News

Python built-ins worth learning

treyhunner.com

1–10 of 69 posts

Re: Python built-ins worth learning

#9
post #5

> Many Python users rarely create classes. Creating classes isn’t an essential part of Python, though many types of programming require it. Huh. Okay.

Which part are you reacting to? I can't speak for "many" users, but all three parts you quoted apply to my usage of Python.

Re: Python built-ins worth learning

#10
I disagree with only one thing in this article. Frozenset is super useful. You should prefer frozenset over set by default imo. Immutable objects are safer to work with, often easier to work with (frozenset is hashable, you can key a dict with it), and sets come up all the time in a lot of work. You can get by with a sorted list, but sets are nicer and faster.
Post reply on HN