Viewing profile — pizzaburek
pizzaburek
HN member- Joined
- Sun, Oct 04, 2015, 2:50 PM UTC
- HN karma
- 188
- Public activity
- 29 items
- HN profile
- View on Hacker News ↗
About pizzaburek
No profile information was provided.
Recent public activity
-
comment
Comment #33262482
For my personal Python projects I set a hard limit in the 94-96 range. That's wide enough that I actualy adhere to it instead of just ignoring it. PEP8's and Google style guide's l…
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
-
comment
Comment #19078102
My personal opinion is that `list_` is among the worst possible variable names (together with `bar` and `foo`). It's non-descriptive, ugly, hard to recognize, looks scary to beginn…
-
comment
Comment #19077610
Yes, although there is a saying that "every generator is an iterator, but not every iterator is a generator". But then again generator has a bunch of methods (close, gi_frame, gi_y…
- comment
-
comment
Comment #19077208
MIND = BLOWN
-
comment
Comment #19076552
Will look into it, thanks for info.
-
comment
Comment #19075826
The whole cheatsheet is clearly in Python 3, where the same doc page that you linked states: Performing list(d) on a dictionary returns a list of all the keys used in the dictionar…
-
comment
Comment #19075712
Because it's rendered directly from README.md. That way it's easier for me, because I don't have to render it every time I make a change (I make a lot of little edits all the time)…
-
comment
Comment #19075660
>>> list(dict.fromkeys([3, 2, 1])) [3, 2, 1] >>> list(set([3, 2, 1])) [1, 2, 3]
- story