From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3885b7fd66a1db28 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-24 14:56:34 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: Why is Ada a good choice for an ambitious beginner to programming Date: 24 Dec 2002 14:56:34 -0800 Organization: http://groups.google.com/ Message-ID: <5ad0dd8a.0212241456.502b994@posting.google.com> References: <5ad0dd8a.0212210251.63b87aba@posting.google.com> <5ad0dd8a.0212230352.11f8b886@posting.google.com> <5ad0dd8a.0212231215.6ae81bf7@posting.google.com> NNTP-Posting-Host: 213.76.93.76 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1040770594 20082 127.0.0.1 (24 Dec 2002 22:56:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Dec 2002 22:56:34 GMT Xref: archiver1.google.com comp.lang.ada:32288 Date: 2002-12-24T22:56:34+00:00 List-Id: Bill Findlay wrote in message news:... > On 23/12/02 20:15, in article > 5ad0dd8a.0212231215.6ae81bf7@posting.google.com, "Wojtek Narczynski" > wrote: > > > Bill Findlay wrote in message > > news:... > >> On 23/12/02 11:52, in article > >> 5ad0dd8a.0212230352.11f8b886@posting.google.com, "Wojtek Narczynski" > >> wrote: > >> > >>> Well, if you asked them, "Where does 'new' allocate memory?", 50% > >>> would answer "stack", 45% - "heap", 5% would give you the correct > >>> answer. At least this is the result I get with graduates that claim > >>> that they know C++. > >> > >> What is the relevance to beginners in Ada of your experience with > >> graduates who 'know' C++ and are confused about it (unsurprisingly)? > >> This is a strange basis for claiming that *Ada* is difficult! > >> (Especially since the C++ answer is different from the Ada answer.) > > > > Bill, > > > > You may have not noticed that this question also applies to Ada, but > > the answer is even harder than in C++. > > Wojtek, we are talking about beginners here. > > C++ beginners just *might* have to learn about placement new, > to let them do things that are trivially easy in Ada; > but, never having taught C++ to beginners, I could be wrong. > > Ada beginners do not have any need to learn about storage pools > (if their instructor is sane at ay rate). Bill, Looks like Ada is hard for me because I am a too curious and impatient. All those generic formal parameters and levels of generic instantiation, storage pools, requeues, task dependencies, discriminants, unchecked conversions, freezing and finally some syntactic weirdness that can only be explained with the evolution of the standard in time, is too much for somebody coming from Java world. Thanks for your time, Wojtek