Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!decwrl!sun!rmarti From: rmarti@sun.uucp (Bob Marti) Newsgroups: net.lang Subject: Re: C++ available Message-ID: <2930@sun.uucp> Date: Fri, 25-Oct-85 14:38:57 EDT Article-I.D.: sun.2930 Posted: Fri Oct 25 14:38:57 1985 Date-Received: Sat, 26-Oct-85 19:15:02 EDT Distribution: net Organization: Sun Microsystems, Inc. Lines: 26 In message <4478@alice.UUCP>, Bjarne Stroustrup (AT&T Bell Labs) writes: > C++ is C with a few problems fixed: > - function argument type checking and type conversion > - scoped & typed constants (alternative to #define) > - inline functions (alternative to #define) > - etc. This is really interesting! When talking to UNIX/C hackers I always got the impression that the practically non-existent type checking in C was a blessing rather than a problem ... With constants, enumerations (not in K&R!), function argument checking, etc., C's "successor" C++ all of a sudden looks awfully similar to Modula-2, which most UNIX/C hackers tell me is absolutely useless. Never mind that most of these people have never bothered to look into a Modula-2 book, or have even done some Modula-2 programming to the tune of several thousand lines of code. --Bob Marti, {decvax, ucbvax, seismo}!sun!rmarti Disclaimer: I have not looked much into C++, but I'd like to emphasize that from what I have heard so far, it makes a lot of sense to me. I do know "vanilla" C however, and -- having done some serious programming in both Modula-2 and C -- I much prefer the former.