summaryrefslogtreecommitdiff
path: root/prog_guide.txt
diff options
context:
space:
mode:
Diffstat (limited to 'prog_guide.txt')
-rw-r--r--prog_guide.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/prog_guide.txt b/prog_guide.txt
index f5ac600f88..3814a11a4e 100644
--- a/prog_guide.txt
+++ b/prog_guide.txt
@@ -146,6 +146,7 @@ Static data is evil as it has the following consequences:
- it makes code much less likely to be recursion-safe
- it leads to subtle side effects when the same code is called from
multiple places
+ - doesn't play well with shared libraries or plugins
Static data is particularly evil in library code (such as our internal
smb and rpc libraries). If you can get rid of all static data in