Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: The Rules of Optimization Club

by JavaFan (Canon)
on Apr 03, 2012 at 23:54 UTC ( #963337=note: print w/ replies, xml ) Need Help??


in reply to Re^4: The Rules of Optimization Club
in thread The Rules of Optimization Club

Nobody is saying don't optimize.
If you don't want to give that expression, I suggest you don't start posts with
The first rule of Optimization Club is, you do not Optimize.
Because you could have fooled me.

If your code is broken, then it's premature.
Eh, no. That's way to general. If a landslide just dumped a few metric tons of mud on my driveway, I'm not going to measure my progress while I'm digging with a spoon. I'll optimize that away right from the start. There's no point in continuing a work in progress of a fix if it's going to be too slow. Even if the fix leads to unbroken code. It's better to turn back and optimize *now* before spending the effort to reach an unsatifying situation.

While I agree that many optimizations are premature, I don't agree this is always true.


Comment on Re^5: The Rules of Optimization Club
Re^6: The Rules of Optimization Club
by petdance (Parson) on Apr 04, 2012 at 13:51 UTC
    If you don't want to give that expression, I suggest you don't start posts with "The first rule of Optimization Club is, you do not Optimize."

    Suggestion noted. I figure the intent is clear enough when rules 2-7 explain parameters for doing optimization.

    xoxo,
    Andy

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2014-08-27 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls