4 ms·
There must still be an assignment somewhere. This is a definition after all. c = a if condition else c = b Whether c is implicit or not doesn't matter too mu
by aatd86 4y ago
There must still be an assignment somewhere.
This is a definition after all.
c = a if condition else c = b
Whether c is implicit or not doesn't matter too much.
I think the comment you respond to is still correct.
- throwaway290 4y agoYou can say that declarative style is only constant assignment. It doesn't make sense to use = though because (unlike imperative style) assignment is all there is, in a way