From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,35629eebe01bcdaf X-Google-Attributes: gid103376,public From: Dan Mattsson Subject: Re: About to give up... Date: 1998/08/08 Message-ID: <35CC1A44.7ED47336@island.liu.se>#1/1 X-Deja-AN: 379415488 X-NNTP-Posting-Host: t5o48p3.telia.com Content-Transfer-Encoding: 7bit References: <6qbt86$dh$1@nnrp1.dejanews.com> <6qcblu$f60$1@nnrp1.dejanews.com> <6qeb1u$728$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@internet.telia.com Organization: I-sektionen, LiTH / Industrial engineering and management, Link�ping Institute of Technology, Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-08-08T00:00:00+00:00 List-Id: Robert Dewar wrote: > > Dan said > True but tedious... > >> > > Tedious for who? the reader, or the writer. > If you *do* want to completely ignore returned result, I find a useful > notation to be > > Discard (func (params)); > > where Discard is an inlined null procedure that ignores its parameter. > > But very often you will do better to do something like > > Check_Error (func (params)); > > where Check_Error checks that the returned result is OK, and raises an > exception if not. You are right, the return codes are meant to be taken care of, but my point is while writing the program, I want things to get things going as quickly as possible. Then, when I'm satisfied with the structure, I complete it with error handling and taking care of return parameters. I am to impatient to take care of every possible event in the beginning of a project. I implement a feature; if it works, fine, if it doesn't I add error handling code and figure out what went wrong. I suppose you will now say that impatience is the last quality any programmer should have, perhaps thats true but this is how I do things. My main problem, though, is then incompleteness of Win32Ada. I'm not sure if either comp.lang.ada or gnatchat is the right forum for those issues, does anybody know another mailinglist or newsgroup that deals with them? /Dan