you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 years ago (1 child)

as a complete layman and hobbyist i also personally think that "more pythonic" coding can sometimes be more confusing.

I dont think any beginner reads "j for j for i in k" and instantly gets it.

maybe unpopular opinion idk

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 years ago*

    Anything that's not an integer or a range doesn't belong inside []. Much more readable to use zip, map, filter, etc. And more powerful.

    EDIT: that was meant for indexing lists. Strings inside [] for indexing ducts are fine.

  • source
  • parent