Glossary: Refactoring and Clean Code
Wrap function
Rename the old function, then write a new one with the old name that adds behavior before or after calling it. Every caller gets the new behavior without being edited.
Glossary: Refactoring and Clean Code
Rename the old function, then write a new one with the old name that adds behavior before or after calling it. Every caller gets the new behavior without being edited.