Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Good, Fast, Cheap: Pick Any Two

by chip (Curate)
on Aug 11, 2000 at 05:47 UTC ( [id://27437]=note: print w/replies, xml ) Need Help??


in reply to RE (3): Shot myself in the foot with a pos
in thread Shot myself in the foot with a pos

I'm wholly in favor of making things maintainable, and I have no interest in gratuitous confusion. So I think we are in broad agreement.

However, when I'm under a deadline, I simply don't have the time to optimize for readability; I have to optimize for speed of programming and ease of debugging (that's debugging my own code, BTW :-)). And the shorter my code is, the less likely it is to be broken.

I'm reminded of something Kipling is reported to have written: ``I apologize for the length of this letter, but I had no time to make it shorter.'' In constrast, writing short Perl code is easy; when I'm programming for money, I have no time to make it longer.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
RE: Good, Fast, Cheap: Pick Any Two
by tilly (Archbishop) on Aug 11, 2000 at 19:09 UTC
    You have just hit on one thing I love about Perl. Perl is a true master at the, "keep it short and sweet" school of maintainability. People who think about keeping million line projects under control tend to lose sight of the fact that that is even possible!

    One thing that novices forget. Optimizing for the ease of debugging in the end is a very good way to optimize for the speed of programming as well. People say, "I didn't have time to think about that" and then wonder why they seem to spend all of their time tracking down bugs...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found