Follow

python ternary expressions always break my brain because the evaluation order is neither left to right nor right to left, but middle to outside.

@phooky i almost feel bad using them.

But then can't use `and` and `or` like with lua because (imo) they didn't truthiness right. (only `None` and `False` should be "falsy" imo)

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!