Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl Design Patterns Book

by valdez (Monsignor)
on Oct 03, 2002 at 19:49 UTC ( [id://202628]=note: print w/replies, xml ) Need Help??


in reply to Perl Design Patterns Book

From Perl Design Patterns Book:

AboutPerl

Because we don't know how programs will reinvent themselves, we don't know how to design an "Interface" *, what composite types are involved, and what containment and inheritance hierarchies will look like. In the beginning, we seldom know that a program will grow into this at all!

"Interface" is much more trendy than the ailing "Application Programmer Interface", or "API". Generally speaking, an interface is how you use something. Just like any consumer appliance, modules should be used in very specific ways: do not submerse in water. Do not use while driving. Do not paint over vents. Do not insert fingers. Do not leave on "high" setting unattended. Not only do programs use APIs to talk to the outside world, they use them internally to connect parts.

Perl's easy going attitude and powerful features shine here. After a program has devised a solution to a logic problem, and after it has proved its continued usefulness, we have a route for improvement.

Ciao, Valerio

Update: thank you all for the links, really interesting. It would be nice to see these links listed in tutorials.

Another quote, but from Dominus's site:

The "Design Patterns" solution is to turn the programmer into a fancy macro processor

;-))

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-23 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found