0%

14-letter words containing cond

  • yoda condition — (programming)   The programming practise of using if (constant == variable) e.g. if (4 == foo) instead of the more natural if (variable == constant) It is named after the Star Wars character Yoda who says things like "Strong is Vader". It may have been invented as a way to prevent coding errors like if (count = 5) (accidentally using a single "=" (assignment) instead of a double "==" (comparison)). The above is syntactically valid whereas the Yoda equivalent would give a compile-time error.
Was this page helpful?
Yes No
Thank you for your feedback! Tell your friends about this page
Tell us why?