Re: How difficult is ada to learn?
- From: Matthew Heaney <mheaney@xxxxxxx>
- Date: Thu, 30 Jun 2005 11:01:38 -0400
Gene wrote:
Most people who start with Borland Pascal miss the built-in set and string data types. Ada gets the same effects with packages, but the syntax is far less elegant and readable.
Thinking about it some more, I forgot that Ada does built-in support for sets a la Pascal, in the form of arrays whose component subtype is Boolean. There are predefined operations for and'ing, or'ing, etc.
Of course, sets of this type have the same constraints as Pascal, meaning that the element type must be discrete and constrained, e.g. subtypes of Character or Integer, etc.
The languages aren't much different here (as you might expect, given Ada's pedigree).
.
- References:
- How difficult is ada to learn?
- From: Sm704
- Re: How difficult is ada to learn?
- From: Gene
- How difficult is ada to learn?
- Prev by Date: Re: How difficult is ada to learn?
- Next by Date: Re: ATC, an example please.
- Previous by thread: Re: How difficult is ada to learn?
- Next by thread: Re: How difficult is ada to learn?
- Index(es):
Relevant Pages
|