Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

C Secure Coding Standard: DCL19-C. Minimize the scope of variables and functions
C++ Secure Coding Standard: DCL07-CPP. Minimize the scope of variables and methods

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="71c42763-e711-4feb-afe1-4e571cc14faa"><ac:plain-text-body><![CDATA[

[[Bloch 2001AA. References#Bloch 01]]

Item 29, Minimize the scope of local variables

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b9a2dc6a-c703-468a-9eb3-5a9050cb713c"><ac:plain-text-body><![CDATA[

[[JLS 2005AA. References#JLS 05]]

[§14.4.2, "Scope of Local Variable Declarations"

http://java.sun.com/docs/books/jls/third_edition/html/statements.html#14.4.2]

]]></ac:plain-text-body></ac:structured-macro>

...

DCL61-J. Avoid cyclic dependencies between packages      01. Declarations and Initialization (DCL)      DCL63-J. Do not shadow or obscure identifiers in subscopes