Re: Records that could be arrays
- From: Wilhelm Spickermann <zulo.20.unbenutzbar@xxxxxxxxxxxxxxx>
- Date: Thu, 23 Feb 2006 07:32:25 +0100
Hi,
Justin Gombos wrote:
I have set a rule for myself: Composite types composed solely....
of one type of element should be declared as arrays rather than
records.
Thoughts?
I think it depends on the meaning of "type". The three floating
point numbers in a polar coordinate system are of three
different _kinds_ and should be put into a record and not into
an array -- even if they have the same _type_.
Wilhelm
.
- Follow-Ups:
- Re: Records that could be arrays
- From: Justin Gombos
- Re: Records that could be arrays
- From: Stephen Leake
- Re: Records that could be arrays
- References:
- Records that could be arrays
- From: Justin Gombos
- Records that could be arrays
- Prev by Date: Re: Quick question about Ada code formatting.
- Next by Date: Re: Records that could be arrays
- Previous by thread: Re: Records that could be arrays
- Next by thread: Re: Records that could be arrays
- Index(es):