Comment by vishnudeva
Comment by vishnudeva 3 days ago
I think my answer: I have no idea what multi-line lambdas are, probably explains why I find Reflex (or Rio/Streamlit, etc) amazing, haha
For a person with zero front-end knowledge, it's a game changer.
In JavaScript you can do this:
In Python, you cannot do this: Instead, you need to pull it out into a def: Sometimes, this is no big deal. But other times, it's damn annoying; the language forces you to lay out your code in a less intuitive way for no obvious benefit.