Meanings (ES + gloss)
condición Yoda
A logical condition with the usual order of operands reversed for various reasons, such as avoiding accidental misuse of = (assignment) instead of == (equality), a mistake that is harder to spot when using the normal order of operands.
A computer programmer is trying to explain a recent problem to a journalist friend, and she says, "This jimmy had put in Yoda conditions and had been refactoring my previous work s…
A great convention to stick to, the Yoda condition requires you to keep the comparison variable on the right side of the conditional statement.
Phrases
No hay frases
Word forms