Next: High Integrity CPP Rule 10.20  Up: 10 Expressions  Previous: High Integrity CPP Guideline 10.18  Contents

High Integrity CPP Rule 10.19   Do not use the comma operator.
(QA C++  3243)

Justification

Using the comma operator is confusing and is nearly always avoidable without any loss of readability, program size or program performance.


HICPP VERSION 2.4  http://www.codingstandard.com   Copyright: © 2007 THE PROGRAMMING RESEARCH GROUP