Observing DRY principles with wrapper functions
Write once and minimise repetitive code with wrappers. Say you have a bunch of functions in your codebase and you want to print out logs whenever a function is run. If you only have a couple of functions, it probably wouldn’t hurt to do something lik...
Mar 6, 20235 min read17