Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Programming Laws

by FoxtrotUniform (Prior)
on Jan 24, 2002 at 21:41 UTC ( #141253=note: print w/replies, xml ) Need Help??

in reply to Programming Laws

  • Lubarsky's Law of Cybernetic Entomology:
    There is always one more bug.
  • Matt's First Law of User Interaction:
    What's obvious to the programmer will not be to the user.
  • First Corollary to MFLoUI:
    You haven't made it obvious enough.
  • Second Corollary to MFLoUI:
    The program's testers will ask the dumbest questions you can possibly think of.
  • Matt's Second Law of User Interaction:
    Users are evil incarnate. They will break your code, overrun your buffers, circumvent your error checks, and make it your fault.
  • Corollary to MSLoUI:
    Test your program with tame users first.
  • Matt's Third Law of User Interaction:
    Users will not be happy with your program unless they can make it behave like the program it replaced.
  • Corollary to MTLoUI:
    Every interactive program should admit, support, or include vi-like movement keys.
  • Matt's Axiom:
    The maximum amount of fun you can have writing code is inversely proportional to the code's immediate user base.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://141253]
[choroba]: No, if there are no threads, then the user wants to use MCE. If there are threads, the user can choose.
[1nickt]: choroba Understood. I'm wondering about the logic in a cpanfile. If the perl doesn't support threads, it's easy: require MCE. If the perl does support threads, as you say the user has a choice, so require both? Or, assume that irrespective of the choide
[1nickt]: ... choice, the threaded-perl user *probably* wants to use threads, therefore only require threads and leave MCE out, allowing the user to manually install if desired?
[choroba]: just require any of MCE and threads. Not sure if that's possible in the cpanfile, but should be possible early in the Makefile
[1nickt]: The app expects threads as default anyway, right?
[choroba]: that's true
[1nickt]: expects threads *to be* the default
[1nickt]: I think cpanfile can handle the logic. testing now.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-10-18 13:20 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (244 votes). Check out past polls.