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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? From: Georg Bauhaus In-Reply-To: References: <1169636785.504223.139630@j27g2000cwj.googlegroups.com> <45b8361a_5@news.bluewin.ch> <3pejpgfbki.fsf@hod.lan.m-e-leypold.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1170843022.7656.42.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Date: Wed, 07 Feb 2007 11:10:22 +0100 NNTP-Posting-Date: 07 Feb 2007 11:10:09 CET NNTP-Posting-Host: c96feed2.newsspool3.arcor-online.net X-Trace: DXC=[a?Hc?alXdM=8m7nZkdN^@McF=Q^Z^V3H4Fo<]lROoRAgUcjd<3m<;B^@^?JcUT=dIPCY\c7>ejVHQ1DQM4S7CC@[]Nc2 On Wed, 2007-02-07 at 09:55 +0100, Maciej Sobczak wrote: > So the implementation details of *some* types leak out in the sense that > they force me to understand their internal mechanics. I don't want to. > I want to say this: > > declare > Sql : Session := Open_Session("some parameters"); > Str : String := "Hello"; > begin > -- ... > end; Another data point: with JDBC, the recommendation is to leave database cursor/statement handling to the implementation and have it finish for you. A notable exception to the rule is when the RDBMS is Oracle. Then you have to: > declare > Sql : Session := Open_Session("some parameters"); > Str : String := "Hello"; > begin > -- ... > -- damn, I have to do *something* with *some* stuff here > end;