Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: How do you name the possibilities?

by EvdB (Deacon)
on Jul 08, 2004 at 08:45 UTC ( #372705=note: print w/replies, xml ) Need Help??

in reply to How do you name the possibilities?

You might have some luck with defining a standard product and then only specifying the deviations from it. For example you could order a BigMac ( BigMac ), or a BigMac with no cheese ( BigMac-Nc ).

Hopefully this would lead to the common orders being simple ( BigMac ) whilst the complicated orders get longer ( BigMac-NcEgPbNt: BigMac, no cheese, extra gerkins, plain bun, not toasted ). As the odd orders are rare it does not matter that they are longer.

Feel free to adapt to your problem domain.

--tidiness is the memory loss of environmental mnemonics

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372705]
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-04-25 19:28 GMT
Find Nodes?
    Voting Booth?