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,57f23cc4dd455d6c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-24 22:38:05 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!swrinde!pipex!uunet!gwu.edu!seas.gwu.edu!dobrien From: dobrien@seas.gwu.edu (David O'Brien) Newsgroups: comp.lang.ada Subject: Re: C++ Envy Date: 25 Jan 1995 06:38:05 GMT Organization: George Washington University Message-ID: <3g4rkd$g07@cronkite.seas.gwu.edu> References: <3f2tbv$r5o@miranda.gmrc.gecm.com> <3f9bha$r16@gnat.cs.nyu.edu> <3fcjp5$b0v@cronkite.seas.gwu.edu> <3fe433$evq@nonews.col.hp.com> <3fj4oa$9a8@cronkite.seas.gwu.edu> <3frte2$re5@cronkite.seas.gwu.edu> <3fui32$q6g@gnat.cs.nyu.edu> NNTP-Posting-Host: 128.164.9.3 X-Newsreader: TIN [version 1.2 PL2] Date: 1995-01-25T06:38:05+00:00 List-Id: In article <3fui32$q6g@gnat.cs.nyu.edu> you wrote: : David O'Brien says :: "I'd just go change the class definition if is was pissing me off that much." : Two comments. First this kind of attitude is of course anathema in a well : run environment. Second, it makes me think David doesn't understand what : a CM system does -- I guess a CM system which made it impossible to mess : around because he felt pissed off would really get him mad! Ok, I have been mis-understood. Let me set this up. A team of us are working on a project. We have a CM tool. Assume the usual C/C++ tools like make. Ok, since the Makefile is so important to producing our program, it is under CM just like all the rest of our source code and headers. Like any project that is concerned with CM, there are "official" builds built by a tech lead, QA, CM, who ever. The Makefile and source code used for these builds come from the CM tool. (Correct me if this isn't setup correctly...) Now, Jim-Bob has written a class and private/protected some member function or attribute I want to access directly. So I decide to use the wrapper header suggested, to get around the type protection. How am I going to compile the beast now? I have to edit the Makefile so that my wrapper header can be added as a dependency to *my* module. (Or, I use scandeps/etc. to automaticly look at the includes and do this for me.) After all this, I am happy with my module. Time to check it back into CM. This must include my wrapper header, or else the program won't be compilable by anyone else (especially the "official" person). BINGO, what do you have??? Traceability! You know who the fool was, and when the change occurred. The next CM report will tell all. Someone earlier said that you could remove the protections from Ada by just editing the source file. You said that CM protected this from happening. How is that different for C ??? : "From the way you wrote, I'd say you have some hostility toward C++ : programmers" : No, just hostility to programmers who feel they can break the rules whenever : they get pissed off :-) btw, I didn't say *I* wanted to mess around. I said that rather than play all these _games_ to get around the protection, I'd just head straight to the source and do it in a [slightly] more legitimized way. My being "pissed off" applies to how ridiculous this thread has become with "oh, this is _terrible_". -- David O'Brien (dobrien@seas.gwu.edu)