more useful options | |
PerlMonks |
Re^3: OOP's setter/getter method - is there a way to avoid them?by Preceptor (Deacon) |
on Oct 27, 2015 at 10:37 UTC ( [id://1146091]=note: print w/replies, xml ) | Need Help?? |
Well, it's likely to be consistent in that it'll always be _slower_. But that's never been the point of OO. The point is to segregate and isolate chunks of code such that you always know where you're looking for problems and tracing bugs. And 10 years of Moore's law means that speed is increasingly not a concern - and when it is, it's time to whip out a profiler, and decide on a risk managed way, if you can afford to rewrite
In Section
Seekers of Perl Wisdom
|
|