Xref: utzoo comp.lang.c:27821 comp.lang.c++:7180 comp.lang.misc:4858 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!mephisto!prism!ccastjr From: ccastjr@prism.gatech.EDU (COOOOoooooOOOoooOOOKIE!!!!) Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.misc Subject: Re: what is c++, c, ansi c etc... Message-ID: <7967@hydra.gatech.EDU> Date: 12 Apr 90 22:17:07 GMT References: <6000:Apr720:31:1490@stealth.acf.nyu.edu> <28742@cup.portal.com> <539@tmiuv0.uucp> <1990Apr12.214718.18545@ux1.cso.uiuc.edu> Reply-To: ccastjr@prism.gatech.EDU (COOOOoooooOOOoooOOOKIE!!!!) Followup-To: comp.lang.c Distribution: usa Organization: Georgia Institute of Technology Lines: 37 Yes, it is possible to write bad code in any language (esp since C++ will accept C code), and no, it can't FORCE you to think in any particular style... (a better word would be encourage, but that still has nothing to do with what I"m about to say). The first OOPS was Simula... Smalltalk evolved from something that evolved from Simula.. and thats that.. Simula, as you can sort of tell from the name, was a language written for creating simulations. It also happens that the data hiding features of the language are encouragable things to a "well structured program". The DoD liked the way it handles object, and had it encorporated into Ada (since Ada is designed to work with actual systems, having somthing that deals with actual objects real well is good). My reason for liking the language is that I *LOVE* C, and happen to be very interested in simulation work..and C++ gives me a lot of tools and system features to do things. An interesting note is that the first C++ compilers didn't output native code (executable), they output C code... so anything you do in C++ *can* be done in C...just not so cleanly (it basically checks your code and does some syntactic modification.. string1 + string2 becomes string.add(string1,string2) where string.add is a pointer to a function that adds strings by whatever your definition of "string addition" is (it also returns whatever you tell it to). though, g++ does output executable. John