From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 16 Jan 93 22:30:51 GMT From: weyrich!orville@uunet.uu.net (Orville R. Weyrich) Subject: Re: First-Time C Message-ID: <1993Jan16.223051.10789@weyrich.UUCP> List-Id: In article <1993Jan11.210636.8396@gvl.unisys.com> garyp@rmtc.paramax.com (Gary Palangian [RMTC/ISP]) writes: > > Our customer is probably going to make a decision to move from >Ada to C on my project. I am concerned about our ability to >control the software engineering process, especially module integration, >using C as a language. Can anybody offer advice or a reference text >that discusses large system development and the particular implementation >and coordintation issues one should expect/plan for if C were the implementati on >language. I learned [and taught Ada] before I learned [and taught C]. The ".h" files in C are pretty much like Ada package specifications, and "static" is pretty much like "private". Unfortunately, the C textbooks I deal with don't seem to have much sense of programming in the large, and really do not give the sort of treatment to how these features can be exploited as I would like. Depending on the size of your project, it may be worth your while to acquire or develop a tool to enforce certain standards, such as prohibiting any global symbols from being present in a ".c" file that are not also in the ".h" file. Some compilers will warn you of such things, some not. Make LINT a habit. But if you are re-training Ada programmers to program in C, then you should have a fairly easy time with this aspect. If you are using ANSI-C instead of C++ you will probably miss things like overloading. Hope this helps; I might think of more issues later. orville -------------------------------------- ****************************** Orville R. Weyrich, Jr. Weyrich Computer Consulting Certified Data Processor POB 5782, Scottsdale, AZ 85261 Certified Systems Professional Voice: (602) 391-0821 Internet: orville%weyrich@uunet.uu.net Fax: (602) 661-0660 -------------------------------------- ******************************