Code Smell 17 - Global Functions
21 October, 2022
3
3
0
Contributors
TL;DR: Global function bring a lot of coupling. Don't use them.
Problems
•
Coupling
•
Readability
•
Maintainability
•
Testability
Solutions
•
Examples
•
Sample Code
Wrong
Right
Detection
Tags
•
Conclusion
Relations
•
More Info
Credits
The road to programming hell is paved with global variables.