Habits Quote by Steve McConnell
““Global data is generally subject to two problems: routines operate on global data without knowing that other routines are operating on it, and routines are aware that other routines are operating on the global data but they don't know exactly what they're doing to it.””
About This Quote
Source Book: Code Complete, 1993
Global data sharing creates hidden risks: unaware concurrent access and unclear modifications.
In simple terms: Shared data can be risky.
Implement clear data access controls.
Themes
Mood
Type
When to use this quote
- multithreaded programming
- database management
- team coordination
Key Concepts
Questions to Reflect On
- How do you track data changes?
- What safeguards prevent race conditions?
Complex systems may still suffer from hidden bugs.