There's more than one way to do things | |
PerlMonks |
Re: Refactoring just to refactor?by ForgotPasswordAgain (Priest) |
on Jul 01, 2019 at 15:06 UTC ( [id://11102242]=note: print w/replies, xml ) | Need Help?? |
Personally I wouldn't refactor it, but that's just my opinion. There used to be a possible performance reason to use an expression instead of a block: blocks set up a lexical scope, so there was some overhead. That was taken care of some years ago, as far as I know. It's why I have a habit of using expressions, even though most documentation uses blocks.
In Section
Meditations
|
|