Jason,
> So my question is about decision strategies in selecting which
> > programming construct to use. Does anybody know of any papers
> > on the subject? I cannot find any.
>
>Nope... But a couple more factors affecting the decision of individual
>programmers might be things like:
>
>(1) Do the switch cases fall through? Makes them clumsier to use.
These are the raw information that needs to be used in decision making.
Strategies discussed in the book include:
o weighted additive rule. Weight the advantages & disadvantages of
each option and pick the one with the highest weight.
o the lexicographic heuristic. Determine the most important attribute
and base a decision on the option with the highest value of the
attribute,
o elimination by aspects. Select the option probabilistically. Eliminate
those options below a thresh hold value for some attribute. The pick another
attribute and eliminate those options below its thresh hold and so on.
o frequency of good and bad features. Count the number of good and
bad features that each option possesses. Use this to make the decision.
The point the book made (or at least one of them) is that people use different
strategies under different circumstances. This seems true of programming
also. The strategy picked when writing code from scratch might be different
than when maintaining code.
derek
--
Derek M Jones tel: +44 (0) 1252
520 667
Knowledge Software Ltd mailto:[EMAIL PROTECTED]
Applications Standards Conformance Testing http://www.knosof.co.uk
- Automatic footer for [EMAIL PROTECTED] ----------------------------------
To unsubscribe from this list, mail [EMAIL PROTECTED] unsubscribe discuss
To join the announcements list, mail [EMAIL PROTECTED] subscribe announce
To receive a help file, mail [EMAIL PROTECTED] help
This list is archived at http://www.mail-archive.com/discuss%40ppig.org/
If you have any problems or questions, please mail [EMAIL PROTECTED]