|
|
|
|
|
by wrmsr
2091 days ago
|
|
> You could use this to do little stunts like adding an "unless x:" statement equivalent to "if not x:" You say that like it's a good thing. Python is a language empowered by its constraints. You have indeed always been able to pull stunts like this but it's strongly frowned upon - python is not ruby, lambdas intentionally do not have statements, and terseness is not a virtue. |
|