comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert C. Leif, Ph.D." <rleif@rleif.com>
To: <comp.lang.ada@ada.eu.org>
Subject: Increasing the readability of Ada was RE: Examples in Docs
Date: Fri, 26 Jan 2001 17:43:59 -0800
Date: 2001-01-26T17:43:59-08:00	[thread overview]
Message-ID: <mailman.980559926.8727.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: <94c73f$hs9$1@nnrp1.deja.com>

From: Bob Leif
To: Robert Dewar et al.

I totally agree. However, if the inclusion of information into the Ada
source is to be maximized, then the XML annotation data type or equivalent
(structured comments) should be created for Ada or present documentation
technology should be applied to Ada source. If an XML schema were created
for Ada, an XML editor with a plug-in could be used to edit Ada source. This
would have several advantages: 1) future commercial editors could be readily
adapted for Ada. 2) The style information would be separated from the text.
A style sheet or separate schema could be employed for capitalization etc.
3) Special annotations could be created with the requirement that text be
entered or even specific elements must be entered. 4) Hyperlinks to external
documentation could be included. And 5) Mathematics could be rendered in
MathML, which provides the interesting possibility of translation of MathML
into Ada.

XML Schema Part 1: Structures
W3C Candidate Recommendation 24 October 2000
This version:
http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/
(in XML (with its own DTD, XSL stylesheet (Nov REC version)) and HTML), with
separate provision of the schema and DTD for schemas described herein.
4.3.10 XML Representation of Annotation Schema Components

Mathematical Markup Language (MathML) Version 2.0
W3C Proposed Recommendation 08 January 2001
This version:
http://www.w3.org/TR/2001/PR-MathML2-20010108
Also available as: HTML zip archive, XHTML zip archive, XML zip archive, PDF
(screen), PDF (paper)
`

-----Original Message-----
From: comp.lang.ada-admin@ada.eu.org
[mailto:comp.lang.ada-admin@ada.eu.org]On Behalf Of Robert Dewar
Sent: Saturday, January 20, 2001 6:25 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: Examples in Docs, was Re: Escape Sequences in Strings


In article <94a2jj$tc2$1@nnrp1.deja.com>,
  mark_lundquist@my-deja.com wrote:
> I think the idea of embedded hyperlinks in comments to
> navigate out to supporting documentation of the kind you
> mention could really be
> worthwhile (DING!  Cue for Bob-Leif-XML-followup :-) :-) :-)

Generally I much prefer ALL technical documentation (as opposed
to user documentation) of the code to be in the code. Why?
Simple, in my experience VERY few programmers have the
discipline to maintain external documents, so they quickly get
out of sync and become completely useless.

It is hard enough for most people to be diligent about
maintaining comments and documentation that *are* part of
the source code.

You really have to develop the exact opposite opinion from
"comments don't really matter and have no effect", and consider
that a bad spelling in a comment is a real bug :-) Sure a bad
spelling is not serious, but the attitude that will not
tolerate bad spelling in program comments is one that goes
along with a commitment to maintaining good internal
documentation.


Sent via Deja.com
http://www.deja.com/





      parent reply	other threads:[~2001-01-27  1:43 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-15  0:00 Escape Sequences in Strings Jean Cohen
2000-11-15  0:00 ` John English
2000-11-15  0:00   ` Robert Dewar
2000-11-15  0:00     ` Ehud Lamm
2000-11-16  0:00       ` John English
2000-11-16  0:00         ` Tarjei T. Jensen
2000-11-16  0:00           ` Ken Garlington
2000-11-16  0:00             ` Keith Thompson
2000-11-16  0:00             ` Marin David Condic
2000-11-16  0:00         ` Marin David Condic
2000-11-15  0:00 ` Preben Randhol
2000-11-15  0:00 ` Marin David Condic
2000-11-16  0:00   ` Ada Streams usage (was Escape Sequences in Strings) Marc A. Criley
2000-11-16  0:00     ` Marin David Condic
2000-11-16  0:00       ` Ted Dennison
2000-11-16  0:00         ` Marin David Condic
2000-11-16  0:00           ` Ted Dennison
2000-11-16  0:00             ` Marin David Condic
     [not found]     ` <igh81t8b3hdrsc167do6qr0h1joa73c1jr@borpin.co.uk>
2000-11-18  0:00       ` Marin David Condic
2000-11-18  0:00         ` David Kristola
2000-11-19  0:00           ` Marin David Condic
2000-11-19  0:00             ` Marin David Condic
2000-11-20  0:00               ` Brian Orpin
2000-11-20  0:00                 ` Marin David Condic
2000-11-19  0:00         ` Ted Dennison
2000-11-19  0:00           ` Marin David Condic
2000-11-19  0:00             ` Ted Dennison
2000-11-19  0:00               ` Robert Dewar
2000-11-19  0:00             ` Robert Dewar
2000-11-20  0:00               ` Randy Brukardt
2000-11-21  0:00                 ` Ted Dennison
2000-11-21  0:00                   ` Randy Brukardt
2000-11-21  1:31                 ` Robert Dewar
2000-11-21  1:33                 ` Robert Dewar
2000-11-21  0:00                   ` Randy Brukardt
2000-11-22  5:00                     ` Robert Dewar
2000-11-20  0:00               ` Marin David Condic
2000-11-21  0:00                 ` Robert Dewar
2001-01-12 13:18 ` Escape Sequences in Strings Andrew Hately
2001-01-12 20:03   ` Keith Thompson
2001-01-18  8:29     ` Lao Xiao Hai
2001-01-18 15:22       ` Robert Dewar
2001-01-18 22:43         ` Randy Brukardt
2001-01-21 11:54         ` Dale Stanbrough
2001-01-21 22:35           ` directly accessing DOS screen memory (was: Re: Escape Sequences in Strings) Jeffrey Carter
2001-01-12 19:37 ` Escape Sequences in Strings tmoran
2001-01-13  1:38   ` Robert Dewar
2001-01-13  6:48     ` tmoran
2001-01-13 18:36       ` Robert Dewar
2001-01-16  3:30         ` Examples in Docs, was " peter_richtmyer
2001-01-16  5:42           ` Robert Dewar
2001-01-16 20:44             ` mark_lundquist
2001-01-16 22:43               ` Larry Kilgallen
2001-01-17 15:06                 ` mark_lundquist
2001-01-17  2:25               ` Robert Dewar
2001-01-17 15:28                 ` mark_lundquist
2001-01-17 16:20                 ` Brian Rogoff
2001-01-17 18:04                   ` Wayne Lydecker
2001-01-17 19:23                     ` BSCrawford
2001-01-18  0:15                       ` Jerry Petrey
2001-01-19  0:01                     ` tmoran
2001-01-18  3:44                   ` Robert Dewar
2001-01-18 16:45                     ` Brian Rogoff
2001-01-18 19:53                       ` Robert Dewar
2001-01-18 22:58                         ` Georg Bauhaus
2001-01-19 16:40                           ` Robert Dewar
2001-01-19  7:49                         ` Learning methods Anders Wirzenius
2001-01-19 18:57                         ` Examples in Docs, was Re: Escape Sequences in Strings mark_lundquist
2001-01-21 12:05                         ` Dale Stanbrough
2001-01-21 15:35                           ` Robert Dewar
2001-01-17 22:10                 ` Matthew Woodcraft
2001-01-18  3:52                   ` Robert Dewar
2001-01-16 16:06           ` Examples in Docs Robert C. Leif, Ph.D.
2001-01-16 21:29             ` mark_lundquist
2001-01-18  0:50               ` Randy Brukardt
2001-01-18 16:46                 ` mark_lundquist
2001-01-18 17:24               ` J. David Bryan
2001-01-17  2:43             ` Robert Dewar
2001-01-17 21:17               ` Robert C. Leif, Ph.D.
2001-01-16 20:01           ` Examples in Docs, was Re: Escape Sequences in Strings mark_lundquist
2001-01-17 10:59             ` Peter Richtmyer
2001-01-19 18:55               ` mark_lundquist
2001-01-20 14:24                 ` Robert Dewar
2001-01-20 14:36                   ` Preben Randhol
2001-01-20 15:00                     ` Robert Dewar
2001-01-21 11:24                       ` Preben Randhol
2001-01-22 14:47                         ` Ted Dennison
2001-01-22 20:08                           ` Preben Randhol
2001-01-22 20:14                             ` Preben Randhol
2001-01-20 19:02                   ` Stephen Leake
2001-01-20 19:50                     ` Georg Bauhaus
2001-01-21 11:35                     ` Preben Randhol
2001-01-22 23:58                   ` Mark Lundquist
2001-01-27  1:43                   ` Robert C. Leif, Ph.D. [this message]
replies disabled

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