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,b50bc6538a649497 X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: Ada student homework ? Date: 2000/11/11 Message-ID: <3A0D4406.5477C346@acm.org>#1/1 X-Deja-AN: 692373792 Content-Transfer-Encoding: 7bit References: <3A02CED4.520C2768@brighton.ac.uk> <3A078B6F.D34B024B@erols.com> <8ua3m1$bru$1@nnrp1.deja.com> <3A0916BB.584C6C60@cadwin.com> <3A0952B9.34BE19D1@cadwin.com> <3A0A2E53.DD650D8A@ix.netcom.com> <3A0A6B56.7437E9E7@cadwin.com> <3A0B68EF.A06B276D@ix.netcom.com> <3A0BC243.4A9CFC90@cadwin.com> <3A0C0BEE.347F659C@acm.org> <5T0P5.180$vj5.65716@homer.alpha.net> X-Accept-Language: en X-Server-Date: 11 Nov 2000 13:05:36 GMT Content-Type: text/plain; charset=us-ascii Organization: Quadrus Corporation Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-11-11T13:05:36+00:00 List-Id: Randy Brukardt wrote: > Well, that's the point of Claw: to allow people to develop for Windows > without needing to know C. (And, I'd expect that various other people > working on GUI tools would say the same.) > >From what I've seen of CLAW, it is a very good tool for PC development. As soon as I can find an appropriate project in which to apply it, I intend to do so. Mostly the problems have to do with existing software, business decisions, etc., that make it difficult to split from the MSVC++ environment currently used. There's also the issue of it being easier for me to sell Ada internally if I can argue that the same stuff will run on Unix and on the PC. For an app with little to no GUI interface (CLI oriented or just a background job) this is easy to do. However, a lot of the tool opportunities we get are going to need a GUI. Like I said, what I know of CLAW indicates it will do well for PC development, but you've got to consider other platforms. Of course, MSVC++ leaves you quite thoroughly bound to the PC anyway, so in this sense, you're no worse off. But you're still working against history and as new features are added to the OS, you'd be lagging behind with tools that come from places other than Micro$oft. (Unless you do your own bindings - and then you've got to know C++! :-) > > I would say that we've failed if C knowledge is still necessary. > Not necessarily. For most basic things, you certainly wouldn't have to know C. However, if you ever want to read the Micro$oft documentation or otherwise work to understand what is available in the OS, you've got to have some C knowledge just because that is where it all comes from. Now if there was an OS written in Ada and documented accordingly, you'd have everything native for you. Hmmmmmm....... :-) > > (Before someone complains, I would probably agree in some ways that we > have failed. One of the original pillars for Claw was a Petzold-like > book with all of the examples in Ada 95 using Claw. But we never found > anyone capable enough in Ada 95, Windows, and writing to create it. [Two > out of three isn't enough.] And, if you have to extend beyond the > boundaries of Claw, you'll end up needing to know C. But certainly such > knowledge is not necessary for many applications.) > Yes, a really good book would be a major advantage. Something that drilled you through the basic "Hello World" on through using all the complex features available in Windows. That's one of the reasons it is hard to fight against C++ here. I can buy MSVC++ and have a CD full of documentation & examples, all hypertexted out. I can go to Barnes & Noble and buy a bunch of "Intro to programming Windows" and "Advanced programming with Windows" books and be able to get up to speed doing the job. CLAW - as good as it may be - just doesn't have that wealth of educational material available :-( I recall a few years ago picking up the Aonix compiler and trying to fool around with the GUI builder, etc. I was very new to the Windows programming scene. Unfortunately, the experience was very rough. What documentation was available kept referring to MS documents for the explanation of various features and, unfortunately, that wasn't available to me at the time. I also didn't understand things like resource files, the window mechanisms, the message loop, etc., and all this was presumed knowledge. My ignorance is certainly not the fault of Aonix, but it would have made it easier to use their product if it came with good tutorials, books and documentation. Material was there - it just didn't go far enough. Maybe it would be productive to find a good book oriented towards programming with MSVC++ and using that as a model for writing a book on programming with CLAW? At least that way, you'd have a successful outline to start from and you'd just have to translate the topics into CLAW/Ada examples? MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Giving money and power to Government is like giving whiskey and car keys to teenage boys." -- P. J. O'Rourke ======================================================================