Re: No call for Ada (was Re: Announcing new scripting/prototyping language)
From: MSG (msg1825_at_yahoo.com)
Date: 02/09/04
- Next message: James Rogers: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Previous message: Anonymous Sender: "Re: TALLYING THE CRIMES OF MONOTHEISTS - Learning from MinHaMitzar"
- In reply to: Martin Krischik: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Next in thread: James Rogers: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Reply: James Rogers: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Reply: Ludovic Brenta: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Feb 2004 15:25:26 -0800
Martin Krischik <krischik@users.sourceforge.net> wrote in message news:<2460735.u7KiuvdgQP@linux1.krischik.com>...
> Others did that allready. Besides, you would need an installed Ada compiler
> to verify anyway.
time apt-get install gnat
=> 15 seconds
> >
> > Can you do the following in Ada:
> >
> > 1. Write *one* bubble-sort function that will work on different
> > types given an appropriate comparison function
>
> Shure you can. Ada invented templates long bevore C++ was even though of.
> Ada templates are far more powerfull then C++.
Example?
> > 2. If B is a subtype of A, can you pass it to any function that
> > takes A as an argument? (covariance)
>
> subtype as in object orientation:
>
> type Parent is tagged null record;
> type Child is new Parent with null record;
"null record" ? How about non-null ones? Is a 3D point (x, y, z) a
subtype of a 2D one (x, y) ?
BTW, does Ada have discriminated unions? (if you don't know what they
are, probably none of the language you used had them)
Also, is it possible to corrupt memory in Ada?
Is it possible to leak memory in Ada?
> or subtype as in simple types:
>
> type Day_of_Month is range 1 .. 31;
> subtype Day_of_Febuary is Day_of_Month range 1 .. 29;
That's neat.
> > BTW, the esteemed Mr. E. Robert Tisdale (ER for short) isn't
> > letting on about why Ada isn't used much at NASA any more.
>
> He also won't tell you why Spirit died.
It's not dead, it's sleeping!
Cheers,
MSG
- Next message: James Rogers: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Previous message: Anonymous Sender: "Re: TALLYING THE CRIMES OF MONOTHEISTS - Learning from MinHaMitzar"
- In reply to: Martin Krischik: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Next in thread: James Rogers: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Reply: James Rogers: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Reply: Ludovic Brenta: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|