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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b0d68c502c0ae6 X-Google-Attributes: gid103376,public From: "Michael Young" Subject: Re: Printing Enum Variable Re: Linux World Date: 1999/03/07 Message-ID: <7bva62$kgm$1@remarQ.com>#1/1 X-Deja-AN: 452409308 Content-Transfer-Encoding: 7bit References: <7bfc2n$jl9@dfw-ixnews5.ix.netcom.com> <7bhh26$r7c$1@remarQ.com> <36DCAC1F.430E2C5E@aasaa.ofe.org> <7bk4v8$kl8$1@remarQ.com> <36DDA761.7B4E8099@aasaa.ofe.org> <7bkrmm$ao1$1@nnrp1.dejanews.com> <36DE0007.5236CEA2@aasaa.ofe.org> <7bmmu2$n0h@news1.newsguy.com> <7btj81$j0d$1@remarQ.com> <1999Mar7.074102.1@eisner> X-Priority: 3 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: newsabuse@remarQ.com X-Trace: 920857602 Z.COWSAII8C13CFD0C usenet77.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! X-MSMail-Priority: Normal Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-03-07T00:00:00+00:00 List-Id: Larry Kilgallen wrote in message news:1999Mar7.074102.1@eisner... > While those participating in this forum may be atypical, there is > a belief that most of those with a C++ compiler are programming in > C. In that sense, this backward compatibility may be the greatest > technical weakness of C++, as well as its greatest marketing strength > (selling lots of licenses to people who don't really use the features). I agree wholeheartedly that C encourages certain poor programming practices. However, Ada is not the only solution to these problem. I hear in your postings: "Ada is better than C; C++ supports features and practices we recognize as evil in C; therefore, C++ is bad. OTOH, Ada rejects all of C; therefore Ada is good." That's pretty convoluted, don't you think? Ada can stand on its own merits, as any successful language must. To hear your strong denials says otherwise, so I must be wasting my time and effort here. After all, C++ already does everything I need and want from a language (well, almost everything), in a way that I am more than happy and comfortable with. What do I need with another "better C than C"? > > While I'm not especially fond of the old SDK, its structure looks > > surprisingly like object use in Ada today. Instead of the more succinct > > C++/Java style aWindow.GetDC(), we see GetDC(aWindow). > > I am not sure how one views the first as more succinct, but my own > feelings are more swayed by type-safety than syntax. I was pointing out that the SDK exposed an object structured interface, implemented in C, well before object oriented languages were seen outside academia. I only meant to say that, because of the similarity in syntax, this should have been more evident to Ada programmers than to C++ or Java programmers. With that in mind, I found it especially odd to see it bashed (along with everything not implemented in Ada). > > Anyway, I'm not sure which you were bashing: C in its infancy, or the > > old SDK. Both were laudable in their days. I expect I might say the same > > of Ada95 in some not so distant future. > > If you think the days of that SDK are over, I think you are quite > mistaken. The "latest released" is not at all equivalent to "what > people use". There's a certain amount of baggage associated with backward compatibility. Perhaps some day, Ada will reach a point of maturity where this becomes a concern. Also, I didn't mean to convey that the SDK has changed dramatically. It hasn't. Most interaction in new code, though, is made through the MFC (Microsoft's "thick binding" for the SDK). In very large systems, interface stability is a primary requirement, not merely an inconvenient liability. Many here are quick to point out that "large systems" are the rightful domain of Ada. I therefore expected to find in this crowd some understanding of the legacy issues involved. As before with the SDK "object" syntax, I found the bashing unwarranted and misguided. Anyway, I came here to learn more about Ada, not to preach about large system development. I'll refrain from further postings of this nature, and hope you'll likewise use restraint in speculating about the weaknesses of C++; I presume I already know more about those than you. Michael.