Newsgroups: comp.lang.c++ Path: utzoo!telly!moore!bkj386!anton From: anton@bkj386.uucp (Anton Aylward) Subject: Advice on design Reply-To: anton@analsyn.UUCP (Anton J Aylward) Organization: Chaos in the Basement Date: Wed, 22 Aug 90 15:04:57 GMT Message-ID: <1990Aug22.150457.8061@bkj386.uucp> Can anyone advise me on sources for design, **** NOT CODING ***** using the facilities provided by C++. I've heard there are some bad books out there, one review dammed a 4-function calculator example for being bloated, especially when compared to the one in Stroustrup's book. The examples in the books I have bought (Sighh) and the magazines don't inpire me. What I see I keep thinking would be just as easy to do in C or even (no. no, don't say it - he's going to say it .... ) PASCAL, and probably simpler, cleaner and not require the amount of information in the form of header files to be fed back into the application that uses the module. [I thought C++ was about information hiding, not _increasing_ the visibility and surface area.] I've been programming in C for over 12 years. Most of what I have without C++ is pretty condensed. I work on the K&R principle of parsimony. What I've read on the philosopy of C++ apeals to my sense of good design, simplicity, regularity..... What I've seen as implmenetion gives me a bad taste. Now is this just that the editors are comment on the part of us that survies death (what 's he say? - oh! "Ah Souls") or is C++ really a cripple when it comes to simple, concise and elegant expression of a solution. Example of simple & concise: #include main() { printf("Hello World\n"); } Counter example: do the same program under microsoft windows. For those who think I'm being argumentative, please back off. I have confidence in people like Stroustrup and believe that he knows more about language design than I'll ever do. I'm not criticising C++, I'm _ASKING_ how I can get the best from it. This is not a question about coding, its a question about how to design for C++. I appreciate that this question is to broad in scope to recieve answers of any detail by followups or mail, but could someone please give me some references that put C++ in a good light? Thank you for listening to my problems. Thank you in advance for your assistance. /anton aylward