StyleCop & operator precedence in C#

Posted on Updated on

Przekład niedobrych praktyk które wyłapie StyleCop:

stylecop-conditional-expression-must-declare-precedence

O operator precedence i czy nawiasy są istotne możecie poczytać na:

http://softwareengineering.stackexchange.com/questions/201175/should-i-use-parentheses-in-logical-statements-even-where-not-necessary
– pierwsza i druga odpowiedź warta przeczytania.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s