When I am making an assumption about some data input, I always put in
a check to make sure that assertion is true. For example if I am
doing math on money, and right now I only do math in USD, I always
check to make sure it is USD that I am calculating with. If not the
code halts and tells me with an email that the data stream is now
different from my assertion.
When there are is a permissible set of values that the data can be, I
always check to see if it is not one of those values. Again, if the
list has changed and the code sees a new value, it halts and emails
me. For example, (red, blue, green) I would not check for red, then
blue and if neither of those, assume green. I'd check for red, blue,
and green, and if none of those, halt and email.
Kee Nethery
On Apr 14, 2006, at 4:46 AM, Marielle Lange wrote:
On the topics of bugs, what I would like to get discussed here is
about the strategy persons on this list have to prevent bugs
getting into their codes in the first place and how to spot and
process them when they did.
Sure, some books can be found for advice on this. But what are the
things to be more specifically careful about when programming with
runrev? Let's avoid the discussion on whether bug free shipping
exists or not. Let's focus on a discussion on what to be careful
about when developing with revolution and what precautions to take
to ensure solid/reliable code.
A little grasshoper,
Marielle
On Thu, 13 Apr 2006, Dan Shafer wrote:
Offered without comment as further conversation fodder for the
ongoing
discussion about bugs and their fixing:
http://www.informationweek.com/blog/main/archives/2006/04/
save_lives_debu.html
----------------------------------------------------------------------
----------
Marielle Lange (PhD), Psycholinguist
Alternative emails: [EMAIL PROTECTED],
Homepage
http://homepages.widged.com/mlange/
Easy access to lexical databases http://
lexicall.widged.com/
Supporting Education Technologists http://
revolution.widged.com/wiki/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution