• 0 Posts
  • 16 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle



  • I don’t read spoken language, but I do read written ones. The problem with python’s ternary is that it puts the condition in the middle, which means you have to visually parse the whole true:expression just to see where the condition starts. Which makes it hard to read for anything but the most trivial examples.

    The same goes for comprehensions and generators