Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Are there n...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 36 of 42 Topic 5611 of 5831
Post > Topic >>

Re: Are there noticable differences in Ada acceptance by country?

by Adam Beneschan <adam@[EMAIL PROTECTED] > Mar 21, 2008 at 02:11 PM

On Mar 21, 12:21 pm, gp...@[EMAIL PROTECTED]
 wrote:
> On Mar 21, 12:39 pm, Simon Wright <simon.j.wri...@[EMAIL PROTECTED]
> wrote:
>
> > gp...@[EMAIL PROTECTED]
 writes:
> > > From my own C experience: using code from different sources X and Y
> > > coordinates in function calls were in different order: foo(x,y);
> > > boo(height, width), etc. Easy to overlook.
>
> > That was my point (I expect I failed to make it properly): if you use
> > a record for Coordinate, your chance of getting the components the
> > wrong way round is hugely reduced, and I don't think the added value
> > of making the H & V components different _types_ is worth the added
> > cost.
>
> Is there any runtime cost of using new type if no range is defined?

Very unlikely, I think.  I think the type of "cost" Simon was talking
about was the added burden (on both writer and reader) of additional
type conversions cluttering up the code, when (in this case) they
probably accomplish very little in the way of preventing programmer
errors.

                                -- Adam
 




 42 Posts in Topic:
Are there noticable differences in Ada acceptance by country?
Mike Silva <snarflemik  2008-03-18 12:08:30 
Re: Are there noticable differences in Ada acceptance by country
Pascal Obry <pascal@[E  2008-03-18 21:41:49 
Re: Are there noticable differences in Ada acceptance by country
"Phaedrus" <  2008-03-18 14:58:15 
Re: Are there noticable differences in Ada acceptance by country
Mike Silva <snarflemik  2008-03-18 15:25:50 
Re: Are there noticable differences in Ada acceptance by country
Ludovic Brenta <ludovi  2008-03-18 23:50:00 
Re: Are there noticable differences in Ada acceptance by country
Thomas <thomas@[EMAIL   2008-03-19 12:42:13 
Re: Are there noticable differences in Ada acceptance by country
Thomas <thomas@[EMAIL   2008-03-19 08:42:17 
Re: Are there noticable differences in Ada acceptance by country
"Peter C. Chapin&quo  2008-03-19 06:35:16 
Re: Are there noticable differences in Ada acceptance by country
"Phaedrus" <  2008-03-19 13:21:21 
Re: Are there noticable differences in Ada acceptance by country
Dennis Lee Bieber <wlf  2008-03-19 23:08:06 
Re: Are there noticable differences in Ada acceptance by country
David Thompson <dave.t  2008-03-31 04:27:45 
Re: Are there noticable differences in Ada acceptance by country
DScott <Merlin43PhD@[E  2008-03-31 00:40:24 
Re: Are there noticable differences in Ada acceptance by country
Ludovic Brenta <ludovi  2008-03-19 05:09:07 
Re: Are there noticable differences in Ada acceptance by country
Ludovic Brenta <ludovi  2008-03-19 05:16:08 
Re: Are there noticable differences in Ada acceptance by country
"framefritti@[EMAIL   2008-03-19 05:51:51 
Re: Are there noticable differences in Ada acceptance by country
Tero Koskinen <tero.ko  2008-03-19 21:04:58 
Re: Are there noticable differences in Ada acceptance by country
Jean-Pierre Rosen <ros  2008-03-20 09:57:30 
Re: Are there noticable differences in Ada acceptance by country
svaa@[EMAIL PROTECTED]   2008-03-19 12:55:05 
Re: Are there noticable differences in Ada acceptance by country
"Phaedrus" <  2008-03-19 13:14:40 
Re: Are there noticable differences in Ada acceptance by country
Ivan Levashew <octagra  2008-03-20 07:34:56 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-19 21:37:59 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-19 21:52:47 
Re: Are there noticable differences in Ada acceptance by country
Simon Wright <simon.j.  2008-03-20 20:22:22 
Re: Are there noticable differences in Ada acceptance by country
"Dmitry A. Kazakov&q  2008-03-20 21:48:14 
Re: Are there noticable differences in Ada acceptance by country
Simon Wright <simon.j.  2008-03-20 22:17:18 
Re: Are there noticable differences in Ada acceptance by country
"Dmitry A. Kazakov&q  2008-03-21 08:52:38 
Re: Are there noticable differences in Ada acceptance by country
Simon Wright <simon.j.  2008-03-21 16:44:50 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-20 14:17:57 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-20 15:59:25 
Re: Are there noticable differences in Ada acceptance by country
tmoran@[EMAIL PROTECTED]   2008-03-20 20:54:04 
Re: Are there noticable differences in Ada acceptance by country
"Jeffrey R. Carter&q  2008-03-21 04:16:40 
Re: Are there noticable differences in Ada acceptance by country
Simon Wright <simon.j.  2008-03-21 16:41:21 
Re: Are there noticable differences in Ada acceptance by country
Simon Wright <simon.j.  2008-03-21 16:39:31 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-21 12:15:53 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-21 12:21:52 
Re: Are there noticable differences in Ada acceptance by country
Adam Beneschan <adam@[  2008-03-21 14:11:34 
Re: Are there noticable differences in Ada acceptance by country
Simon Wright <simon.j.  2008-03-22 07:02:38 
Re: Are there noticable differences in Ada acceptance by country
Maciej Sobczak <see.my  2008-03-22 07:00:03 
Subtypes to represent coordinate charts
Eric Hughes <eric.eh9@  2008-03-22 10:16:21 
Re: Are there noticable differences in Ada acceptance by country
gpriv@[EMAIL PROTECTED]   2008-03-24 11:01:49 
Re: Are there noticable differences in Ada acceptance by country
Tero Koskinen <tero.ko  2008-03-25 20:02:43 
Re: Are there noticable differences in Ada acceptance by country
Gautier <gautier@[EMAI  2008-03-25 20:57:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:20:31 CDT 2008.