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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Full view of a private partial view cannot be a subtype Date: Tue, 5 Dec 2017 14:16:48 -0600 Organization: JSA Research & Innovation Message-ID: References: <889a3aed-4e6b-49c8-8c1c-6f1478e8e077@googlegroups.com> Injection-Date: Tue, 5 Dec 2017 20:16:48 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="1933"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:49384 Date: 2017-12-05T14:16:48-06:00 List-Id: "Jeffrey R. Carter" wrote in message news:p04frg$q8n$1@dont-email.me... ... > Perhaps the best fit of any problem with type extension is a GUI > framework, since everything "is-a" widget. I have used 2 such frameworks > implemented using type extension, Claw and Gnoga, and both are very > difficult to understand. The derivation trees are very deep and there are > a huge number of inherited operations. It's effectively impossible to know > all the operations for the most commonly used types, which tend to be down > at the leaves of the derivation tree. Not impossible, just impossible by reading the source code. The Claw documentation materializes all of the inherited routines so that there is a cohesive list of all of the operations available for each time in the documentation. (Needless to say, this documentation is generated by an automated tool with annotations.) ... > Sometimes an operation behaves differently at different levels, with no > indication that this should be expected. Reading the super-secret documentation would help, I hope. ;-) I realize that real programmers don't need (or look at) documentation, but it is impossible to convey everything important in Ada source code! Randy.