Re:Yoda Conditions
by mikeash on Friday February 17, 2017 @02:28PM
(#13670960)
You can't if they're both mutable, since the whole idea of a yoda conditional is to put an immutable thing on the left side. What I meant was that you can't use them in that case, so it's a technique you can't use with 100% consistency.
[ Parent
| on HN ]
There are no comments on this comment yet.