Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SEI CERT C++ Coding Standard

OOP00-CPP. Declare data members private

MITRE CWE

CWE-766, Critical Variable Declared Public

Secure Coding Guidelines for the Java Programming LanguageSE, Version 35.0

Guideline 3-2. 6-8 / MUTABLE-8: Define wrapper methods around modifiable internal state

...