Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Efficient programming

by jplindstrom (Monsignor)
on Dec 22, 2008 at 13:44 UTC ( #732069=note: print w/ replies, xml ) Need Help??


in reply to Efficient programming

If you start with correct, well named and well structured, you may have the opportunity to make it fast and efficient.

The opposite is rarely true.

So:

  • Write a test - to make it correct
  • Write some code - to make it work at all :)
  • Refactor - to make it well structured
  • Profile and Optimize - every once in a while to make it efficient

/J


Comment on Re: Efficient programming

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-07-06 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls