TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Reply To:
Thu, 16 Dec 2004 22:33:47 -0600
text/plain (34 lines)
Because for many small projects, such as verifying a set of data,
and converting it from one format to another, the large number
of good primitive data-types of Ada means that
  "almost all you hve to do it write the data defintions".
The code will write itself.
   For example, if you have to convert a set of data with data values
that are a sequence with holds into another sequence with holes,
   1)  A type definition
   2)   Two derivired types from the first
   3)   A rep-spec for each of the derived types
   4)   Two instantians of ENUMERATION_IO.
   5)    One assigment statement to up-convert and then down-covert.
and you hvae your program.
     Try doing those data mappings as easily
   + verifying the correctness of the values of your original data
    easier in some other programming language.

...Paul S.

----- Original Message -----
From: "David Botton" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, December 15, 2004 3:29 PM
Subject: Question #3

> Ok #3 in our series of questios that will make their way in to future
> articles, FAQs, etc.
> Why would I want to use Ada for small projects?
> David Botton