in reply to Re^2: Module vs Singleton
in thread Module vs Singleton
Oh, no, no ... if you have found a CPAN module to do what you are looking for, I am always in favor of going that route, because doing so usually gives you a more-robust and well-thought-out solution with less work. Those CPAN contributors are gooood ...
Nevermind any concerns for the computer’s “efficiency.” (At however-many billion operations per second, no one can hear you scream ...) Rather, think only about your own. What is the easiest and most reliable to build ... the most serviceable and maintainable ... the most obvious, both now and six months from now when your own code has become the work of a perfect stranger. (How soon we forget, especially as we get old... aww, forget it...) ;-) If you have already put your hand to the plow, it’s rarely a good idea to look back.
You will soon hear around here this familiar mantra: TMTOWTDI.™ (a.k.a. “Tim Toady.”) And you will soon know why we say it.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Module vs Singleton
by Anonymous Monk on Jul 16, 2011 at 18:11 UTC |