Skip to content

Commit

Permalink
Updated Yoda condition caption as suggested by Javier Eguiluz.
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Jun 16, 2015
1 parent e1bcab0 commit 8ceac05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ Service Naming Conventions
Conditions
----------

Use `Yoda condition`_ when you need to check a variable against a value.
The main goal with this syntax is to avoid an accidental assignment inside the
condition statements:
Use `Yoda condition`_ when checking a variable against a value to avoid an
accidental assignment inside the condition statements:

instead of:

Expand Down

0 comments on commit 8ceac05

Please sign in to comment.