Skip to content

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.

Where the book teaches it

Related terms

Sprout functionlogging