home.social

#whinynerd — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #whinynerd, aggregated by home.social.

  1. I am finally getting comfortable with comprehensions in Python. I understand the benefits, and they are already becoming useful for me. Great. Fine. Good.

    Although I do wish it was possible to include some sort of separator between the individual components (even if it was entirely cosmetic) to improve readability in more complex comprehensions.

    For example, when using filters, or complex expressions or nested comprehensions, it would be useful to be able to include a semi-colon (or something) as a visual separator between the main loop and the filter etc.

    I'll get used to it I'm sure. So it's fine. But spicy brain wants what it wants sometimes.

    #Python #PythonComprehension #ListComprehension #AiringOfGrievances #WhinyNerd