comp.lang.ada
 help / color / mirror / Atom feed
From: G. B. <nonlegitur@nmhp.invalid>
Subject: Re: Record operations (Algebraic Data Types and printing)
Date: Fri, 12 Oct 2018 19:08:41 -0000 (UTC)
Date: 2018-10-12T19:08:41+00:00	[thread overview]
Message-ID: <ppqrfp$7ct$1@dont-email.me> (raw)
In-Reply-To: ppnc6a$i2i$1@dont-email.me

Björn Lundin <b.f.lundin@gmail.com> wrote:
> On 2018-10-10 20:13, G. B. wrote:
>> But are all Ada debuggers and simulators in such a state? I find staring at
>> trace logs unproductive in comparison.  Maybe, though, some programmers
>> like the challenge.
> 
> When a system is deployed, and there is no debugger attached,
> and an incident occur (malfunction/crash/whatever),
> I am very happy to look at the logs.
> Debugging is then not an option, since it occurred in the past,
> and may be very difficult - if not impossible -  to reproduce.
> 

(Side note: interpreting messages and stack traces, foreign and own, of
various qualities is part of my job description.)

Technical impossibility of debugging a failure from the past is  beside the
point, IMHO, as ‘Image would, by default, just dump textual representations
of internal data structures. Potentially including all kinds of information
that may be private in at least two senses, unless... First, minor
issue(?), Ada structures that you don’t want partners in business to know,
that you don’t want them to build something around, based on knowledge
gleaned from traces. I don’t like that kind of secrecy myself but you know
what programmers do when they take some implementation for granted,
ignoring the interface. Plus, there are business reasons. In any case,
these are called internal data structures for a reason. Second, if private
components become visible, that’s generous, but even technically the
correspondence with ‘Value should not be a victim of  supporting lazy
programmers’ easy ‘Image. I/O just isn’t, even for trace analysis.

So, unless you start “overriding” ‘Image ... — But! For which of those use
cases? Dmitry, should ‘Image be capable of MD as needed per use case?

It is easy to be tempted by ease of use of ‘Image!

 ‘Image turns us into a human interpreters of haphazard Lisp like symbols
in the end. Some programmers enjoy themselves doing this kind of
recreational symbolic mathematics.


  parent reply	other threads:[~2018-10-12 19:08 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 17:46 Record operations (Algebraic Data Types and printing) Henrik Härkönen
2018-10-05 17:58 ` AdaMagica
2018-10-05 18:11   ` Henrik Härkönen
2018-10-05 18:46     ` Niklas Holsti
2018-10-05 20:33       ` Henrik Härkönen
2018-10-06  5:38   ` J-P. Rosen
2018-10-06  7:08     ` Henrik Härkönen
2018-10-06 16:42       ` Lucretia
2018-10-08 23:08         ` Randy Brukardt
2018-10-09  1:12           ` Lucretia
2018-10-09 22:20             ` Randy Brukardt
2018-10-10  7:17               ` Dmitry A. Kazakov
2018-10-10 18:13                 ` G. B.
2018-10-10 18:36                   ` Dmitry A. Kazakov
2018-10-11 11:29                   ` Björn Lundin
2018-10-11 14:45                     ` Jacob Sparre Andersen
2018-10-11 18:34                       ` Björn Lundin
2018-10-12 19:08                     ` G. B. [this message]
2018-10-12 19:20                       ` Randy Brukardt
2018-10-11 21:32                   ` Randy Brukardt
2018-10-10 18:38                 ` Shark8
2018-10-11  8:36                   ` Dmitry A. Kazakov
2018-10-11 21:35                 ` Randy Brukardt
2018-10-12  7:14                   ` Dmitry A. Kazakov
2018-10-12 19:16                     ` Randy Brukardt
2018-10-06 16:18     ` Jeffrey R. Carter
2018-10-06 17:19       ` Dmitry A. Kazakov
2018-10-08 23:03   ` Randy Brukardt
2018-10-09  6:22     ` Henrik Härkönen
2018-10-09  7:32       ` Paul Rubin
2018-10-09  7:38         ` Henrik Härkönen
2018-10-09 22:25         ` Randy Brukardt
2018-10-05 18:32 ` Niklas Holsti
2018-10-05 18:43   ` Henrik Härkönen
2018-10-05 19:41   ` Simon Wright
2018-10-06  6:17     ` Henrik Härkönen
2018-10-06 16:04       ` Stephen Leake
2018-10-06 16:56         ` Simon Wright
2018-10-08  6:44           ` briot.emmanuel
2018-10-08 14:09             ` Simon Wright
2018-10-08 14:21               ` Bill Findlay
2018-10-08 14:42                 ` Simon Wright
2018-10-08 16:46                   ` Bill Findlay
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox