Yoda Condition Definition
noun
A condition with the usual order of operands reversed — e.g. if (18 == age) rather than if (age == 18) — so as to avoid the accidental misuse of = (assignment ) instead of == (equality ), a mistake that is harder to spot when using the normal order of operands.
Wiktionary
Origin of Yoda Condition
In allusion to the somewhat grammatically reversed speech style of Yoda , a character in the Star Wars franchise.
From Wiktionary
Find Similar Words
Find similar words to Yoda condition using the buttons below.