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

Re: Writing a large application in perl?

by TGI (Parson)
on Jun 18, 2002 at 17:25 UTC ( #175434=note: print w/replies, xml ) Need Help??


in reply to Writing a large application in perl?

Plan a design before you start. What objects will you need? What will each object do? Use pod to document your code as you go along. Plan to throw away at least one design and start over. You will probably get started coding and realize that the design you thought was so nice inherently makes a needed feature very difficult, or some other fatal problem will arise, it's happened to me. Experience will help with this.


TGI says moo

  • Comment on Re: Writing a large application in perl?

Replies are listed 'Best First'.
Re(2): Writing a large application in perl?
by FoxtrotUniform (Prior) on Jun 18, 2002 at 21:46 UTC
      Plan a design before you start.[...] Plan to throw away at least one design and start over.

    Try to keep your design fairly compartmentalized, and loosely coupled. That way, when you do find a flaw in your first design, you don't have to throw everything away: some of the code you've already written will easily work with your new code. (For instance, if you're always updating a database the same way, and you keep the database update code well-separated from everything else, you won't need to make any changes to it when you realize that your interface code is hopelessly screwed, trash it, and start over.)

    --
    The hell with paco, vote for Erudil!
    :wq

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2020-01-21 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?