[TS] Re: Delete Button


Subject: [TS] Re: Delete Button
bgdarnel@unity.ncsu.edu
Date: Mon Mar 13 2000 - 12:15:50 EST


Jack Nutting <jnutting@orcsoftware.com> wrote:
> <BASE TARGET="meattach">
><PRE>Thus spake Ben Darnell:> There's a lot of code in ThoughtStream that
breaks if given NULL as a> parameter, but since it's difficult to
gracefully handle errors in> PalmOS, I'm currently relying on the fact that
it's difficult to get> things into a confused state (i.e. a null db
parameter), and when they> are, things are so badly broken that it's
probably safer to just crash.
                 ^^^^ ^^^^^</PRE><BR>
>Um, I think maybe you should change your thinking from "just crash"
to"exit gracefully". On a platform like PalmOS, where a crash means
youhave to find a paperclip and reboot the thing, exiting the app and
dumpingthe user back to the Launcher in case of catastrophe is probably a
betterchoice. IMHO.<BR>

[Please fix your word wrapping and avoid HTML on mailing lists]
I did not mean that it was acceptable for the app to crash; if there is any
way for the user to crash the program, then that's a bug and should be
fixed. I was referring to the fact that I generally check user input for
validity rather than having every routine check the state of the system.
PalmOS sort of forces you into this philosophy because many PalmOS routines
"just crash" when given invalid conditions.

ThoughtStream is still beta; crashes are a fact of life for now, so you
should keep a reset pin handy. (If your device came with the metal/plastic
3-part stylus, you can unscrew the top for a reset pin)

-Ben

------------------------------------------------------------------------
Get paid for the stuff you know!
Get answers for the stuff you don’t. And get $10 to spend on the site!
http://click.egroups.com/1/2197/3/_/6321/_/952967766/

-- 20 megs of disk space in your group's Document Vault
-- http://www.egroups.com/docvault/thoughtstream/?m=1



This archive was generated by hypermail 2b25 : Wed Aug 30 2000 - 22:01:01 EDT