A team stores algorithm-specific tuning parameters (e.g., hash table load factor) as magic numbers scattered throughout the codebase. What professional standard does this violate?
-
A
It violates the open/closed principle only
-
B
It violates maintainability standards by hiding tunable parameters and making behavior difficult to audit or change
-
C
It is acceptable if the values are commented inline
-
D
It violates only naming conventions, not algorithm standards