Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: On Interfaces and APIs

by ForgotPasswordAgain (Deacon)
on Jun 04, 2006 at 19:51 UTC ( #553503=note: print w/replies, xml ) Need Help??


in reply to On Interfaces and APIs

Nice review. I've been thinking a little about interfaces too, recently, in particular the Mozilla embedding API, which I've tried to understand for the last...year or so. That has to be one of the worst ever, though I'm sure the developers think it's a shining example of...something.

I think the ideas for interfaces you pointed out should be extended to all code, not just modules. One of the things that takes me the longest in writing even relatively one-off scripts is that I spend a lot of time worrying about how much sense the script makes for whoever will eventually maintain it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://553503]
help
Chatterbox?
[ovedpo15]: how fast and a good way to print error if more than one out of three variables are defined? for example if there are $a $b $c. I want that if for example $a and $b are defined - print error (also for $a and $c or $b and $c)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2018-04-22 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?