mirror of
https://github.com/cpp-best-practices/cppbestpractices.git
synced 2025-12-17 11:14:35 +03:00
Small improvements, cleanup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## Avoid Global Data
|
||||
|
||||
This includes statics and singletons
|
||||
This includes statics and singletons.
|
||||
|
||||
Global data leads to unintended side effects between functions and can make code difficult or impossible to parallelize. Even if the code is not intended today for parallelization, there is no reason to make it impossible for the future.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user