Refactoring: Taming the Bunnies
Mark Bernstein: If bunny methods repeatedly need to get stuff from the mother object, consider passing the information they need as arguments. If you have too many arguments, make an argument object. If a method on bunny A needs to talk to some other bunny, pass the bunny as an argument.The point here is to … Continue reading Refactoring: Taming the Bunnies
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed