Live data from Hacker News

Viewing profile — pizzaburek

pizzaburek

HN member
Joined
Sun, Oct 04, 2015, 2:50 PM UTC
HN karma
188
Public activity
29 items

About pizzaburek

No profile information was provided.

Recent public activity

  1. 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…

  2. story
  3. story
  4. story
  5. story
  6. story
  7. story
  8. story
  9. story
  10. story
  11. story
  12. story
  13. story
  14. story
  15. story
  16. story
  17. 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…

  18. 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…

  19. comment
  20. comment
    Comment #19077208

    MIND = BLOWN

  21. comment
    Comment #19076552

    Will look into it, thanks for info.

  22. 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…

  23. 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)…

  24. comment
    Comment #19075660

    >>> list(dict.fromkeys([3, 2, 1])) [3, 2, 1] >>> list(set([3, 2, 1])) [1, 2, 3]

  25. story