Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Thoughts on "one function, flexible arguments"?

by Anonymous Monk
on Aug 30, 2019 at 20:08 UTC ( #11105319=note: print w/replies, xml ) Need Help??


in reply to Thoughts on "one function, flexible arguments"?

I do not agree with Postel: "be conservative" in what you accept, too. Otherwise you have just made a too-generalized promise to anyone who shows up that, somehow, you will do the right thing with anything they offer. My point being that I could never "desk check" YOUR code, unless I could somehow comb the universe to discover each and every call. The "correct" operation of this code as written depends on the "correctness" of every possible caller and could offer no assistance at all in detecting that a bug existed in any of them. Of course, "realizing that a bug exists" is always the first hurdle, and "determining where it is" is the second. Maybe i would rewrite Postel's rule as: "be suspicious as hell, because if you don't catch the CALLER'S bug, no one will."
  • Comment on Re: Thoughts on "one function, flexible arguments"?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2020-11-30 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?