Short answer: good luck!
Long answer: lots of application of the 'Zen of Defensive
Programming'!! In other words:
* check EVERYthing the user could give you,
* double-check your own code with assertions!
(i.e. any time you find yourself using the words "... that should
never/always happen...", put an assertion in the code there!)
* make sure that - at the very least - YOU understand any error
messages the program generates, and it's to your benefit to make them
as user-friendly as possible
* Get a better fool! (or, more succinctly, get others to test the
program for you, and - more importantly - LISTEN when they have a
problem; they're telling you something important!)
* As much as possible, use good OO coding practices; encapsulation is
there for a reason!
* always remember that you can NEVER make any complex system totally
fool-proof; you'll have to decide where the point of diminishing
returns is; at what point will more effort on your part yield too
little in code stability.
On Jan 18, 2007, at 9:35 AM, Emile SCHWARZ wrote:
Hi all,
Application design rather REALbasic usage (quoi que...)
I have a multimedia application where I have a selector that is
created dynamically. I rely on the Window Activate Event to re-
build the selector contents (actually a ListBox).
I just saw a simple code miss (two lines were missing) and I added
them. Now while I was testing that (moving a multimedia container
folder from the "root" folder to a different one), I realized that,
without quitting the application, I can also move a folder away -
and its entry will still be in the selector - and I have a possible
flaw; maybe a bug | needs more tests - .
So the question is:
how can I be sure the user does not tricks my application ?
[moves a folder on my back?]
AMAP: As Much As Possible!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>