19.10.2012 Views

C++ in Safety-Critical Systems - Applied Informatics

C++ in Safety-Critical Systems - Applied Informatics

C++ in Safety-Critical Systems - Applied Informatics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JSF <strong>C++</strong> and MISRA-<strong>C++</strong> on Names<br />

> Readability.<br />

> Avoid stupid names.<br />

> Programmers make mistakes when they are tired or have poor<br />

paper or screens.<br />

> Example:<br />

<strong>in</strong>t I0, I1, l0, l1;<br />

I0 = 10;<br />

l0 = 11;<br />

I1 = l0;<br />

l1 = 11 + 10*I0 + l0;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!