Changes between Version 40 and Version 41 of Coding_Conventions
- Timestamp:
- Nov 10, 2018, 6:29:36 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Coding_Conventions
v40 v41 268 268 * Prefer global variables over singletons, because then they're not trying to hide their ugliness. 269 269 270 * Use `nullptr` instead of `NULL`.270 * Use `nullptr` for pointers (instead of `NULL`). 271 271 272 272 * Don't do "`if (p) delete p;`". (That's redundant since "`delete nullptr;`" is safe and does nothing.)