in reply to Re: Can I please have *simple* modules?
in thread Can I please have *simple* modules?
It all depends on the complexity of the methods you're making. Let's say I have 4 or 5 "inherited sets" in a particular class. I'm saving a bit more than just a handful of lines of code by using a method maker in that situation. But the best part is that if there's a bug in my inherited set implememntation, I can fix it in one place (the "no code duplication" thing strikes again) and all my classes that use inherited sets benefit from the fix.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Can I please have *simple* modules?
by demerphq (Chancellor) on Nov 24, 2005 at 19:34 UTC | |
by siracusa (Friar) on Nov 24, 2005 at 23:24 UTC | |
by demerphq (Chancellor) on Nov 25, 2005 at 07:55 UTC | |
by siracusa (Friar) on Nov 25, 2005 at 15:08 UTC |
In Section
Meditations