A ‘switch’ statement shall contain a ‘default’ branch that handles unexpected cases.
A “goto” statement shall never be used.
A null statement as body of a loop shall include a comment to make the intent clear.
Functions 3.5 |
A function shall be no longer than 100 NCSL.
本文关键:[FW]C Coding Standards Quick Reference
相关方案
|