Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Refactoring just to refactor?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11102242]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found