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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c1983ae2deb642ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-25 16:24:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail From: "Steve Doiel" Newsgroups: comp.lang.ada References: <8tNH8.76854$L76.130053@rwcrnsc53> <5ee5b646.0205251423.1273b6b7@posting.google.com> Subject: Re: Ada -vs- GNAT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: NNTP-Posting-Host: 12.225.227.101 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1022369051 12.225.227.101 (Sat, 25 May 2002 23:24:11 GMT) NNTP-Posting-Date: Sat, 25 May 2002 23:24:11 GMT Organization: AT&T Broadband Date: Sat, 25 May 2002 23:24:11 GMT Xref: archiver1.google.com comp.lang.ada:24807 Date: 2002-05-25T23:24:11+00:00 List-Id: "Robert Dewar" wrote in message news:5ee5b646.0205251423.1273b6b7@posting.google.com... > "Steve Doiel" wrote in message news:<8tNH8.76854 [snip] > > Why not use > > Put_Line( Some_Type'Image( Some_Value ) ) > > > > and avoid the habit of using non-standard features. > > Because when you are writing debugging statements, it is > a time when convenience of writing dominates maintenance > and readability concerns (since they don't arise). So > that's when 'Img is useful (although we had in mind > originally that 'Img should remove the dratted space > in front of integers and also allow arrays, records etc). > (again for convenience of debugging). This reminds me of an experience I had a number of years ago when installing a computer system in a sawmill. We were installing a system on a weekend and required production monday morning. The electrical contractor had not provided enough power outlets in the computer room so as a temporary measure an electrician ran an extension cord across the mill floor, assuring me that would do the correct wiring the following weekend. I visited the mill 5 years later. The extension cord was still there. Quick fixes often stay in place longer than intended. Based on my experience I would say that I agree to disagree. SteveD