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=-0.2 required=5.0 tests=BAYES_00,PLING_QUERY, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b6d862eabdeb1fc4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!news2.arglkargh.de!news.visyn.net!visyn.net!uucp.gnuu.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada noob here! Is Ada widely used? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <2o8vq76hpv1m.vs7m2beo23nz.dlg@40tude.net> <1q5k4indthpli.1dn17o4ue4a15$.dlg@40tude.net> <4c0c1188$0$6887$9b4e6d93@newsspool2.arcor-online.net> <4c0cd44f$0$6766$9b4e6d93@newsspool3.arcor-online.net> <4c0cfe57$0$7660$9b4e6d93@newsspool1.arcor-online.net> <4c0d0978$0$7651$9b4e6d93@newsspool1.arcor-online.net> Date: Mon, 7 Jun 2010 17:09:06 +0200 Message-ID: <1e1tfvcv6iqxl.5ofese1iqas.dlg@40tude.net> NNTP-Posting-Date: 07 Jun 2010 17:09:07 CEST NNTP-Posting-Host: 1bb9fa9e.newsspool1.arcor-online.net X-Trace: DXC=h On Mon, 07 Jun 2010 17:00:07 +0200, Georg Bauhaus wrote: > On 07.06.10 16:51, Dmitry A. Kazakov wrote: >> On Mon, 07 Jun 2010 16:12:38 +0200, Georg Bauhaus wrote: >> >>> On 07.06.10 14:22, Dmitry A. Kazakov wrote: >> >>>> This includes the exceptional ones. When bug >>>> happens, the program is in no state. >>> >>> Erh, are you sure? >> >> Yes I am. Any program state is defined, it has some sematic interpretation >> in the domain. Bug is when you have lost this synchronization. Meaningless >> state is no state. > > Then what constitutes a bug? > > procedure add_to_account(Number: in out Account_ID; sum: Money) is > client_account: Account := Find_Account(Number); > begin > -- FIXME: not ready, using dummy account > client_account := Make_new_Account; > end add_to_account; Where is a problem? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de