|
|||||||||||||||||||||||||||||||||||
|
45 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
40 of 41 people found the following review helpful:
4.0 out of 5 stars
Still Offers Good Advice,
By
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
The negative reviews I've read tend to fall into two categories: 1) Anti-Microsoft Bashing and 2) Nitpicking.This book isn't a recipe book, and it's a bit dated, having been written during the days of DOS and the first Macintosh, but the underlying themes and general advice are still valid: - Enable compiler warnings and pay attention to them.
21 of 21 people found the following review helpful:
5.0 out of 5 stars
Please ignore previous negative reviews,
By
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
I was shocked to see this book get some negative reviews. Those that blasted Microsoft missed the point. This book provides invaluable advice in a quick read. For example, "If you have to look it up, the code is not obvious," or, "If you find yourself designing a function so that it returns an error, stop and ask yourself whether there's any way you can redfined the function to eliminate the error condition." This is the book that convinced me to single-step all my code. The heuristics on proactive bug prevention, which are summarized in the appendix by the way, will save your team time and let you move on to adding features rather than fighting fires.
15 of 15 people found the following review helpful:
4.0 out of 5 stars
Overall excellent book, with a few flaws,
By Somebody You Don't Know (Portland, OR, USA) - See all my reviews
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
This book in many ways changed the way I approached programming. In particular, the perspective that it took towards designing and implementing programs in a way such that bugs are automatically detected (preferably by the compiler, or by other tools) has proved invaluable to me in my later experience as a software engineer. Other advice (use some form of 'assert' heavily, deliberately write 'brittle' code that will break loudly as soon as the slightest thing goes wrong, so errors aren't hidden) was similarly insightful, if occasionally a bit counterintuitive.On the other hand, the book's source language (the C programming language, as used by Microsoft tools) is increasingly outdated. This might prevent some people from appreciating the finer insights of this book. Also, the author recommends use of Hungarian notation, which I despise in a strongly typed language. (My recommendation: use PC-Lint, with strong types. Both more powerful, and more readable.) Still, the overall philosophy of the book is very powerful, and the concepts and techniques that it discusses can easily be applied to other programming languages and other software development efforts. I was writing in C++ when I read the book, and I currently program in Java, but I still apply the lessons I learned from this book. This book is certainly not the ONLY way to write solid code (and I have found improvements on a number of techniques discussed in the book), but it does sketch out a fairly workable process which if followed would produce a quality product. Most importantly, the PHILOSOPHY that the author uses to approach writing bug-resistant programs is quite powerful. Note that this is a book on software implementation, not software design (except in the small scale). Large-scale design is a whole separate issue which this book really does not address much.
75 of 93 people found the following review helpful:
2.0 out of 5 stars
Flaws and outdated advice detract from otherwise good advice,
By
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
Writing Solid Code was first published over eight years ago and concerns a subject, development in C, that hasn't gotten much press lately. In an era where it seems like everything is OO and developed in C++ or Java, the simple truth is C and non-OO development still has a strong place in our industry. This may explain why a book such as this continues to draw attention.The writing has a feel of the old C classics such as The Elements of Programming Style (Kernighan, Plauger) which also offered lots of advice with little or no formal reasoning or literature citations to back up that advice. As a consequence, the text has a personal, easy flow but contains some recommendations which are questionable at best. First, I should outline what is right with this work. There are many nuggets of wisdom that seem obvious if not uncontroversial: enable all compiler warnings, use lint, use assertions, and don't wait until you have a bug to step through your code. Enough of these reasonable guidelines appear in the text to lull the reader into a false sense of security with the remainder of the work. What makes this book dangerous for new developers is the number of points that are either marginal in value or just plain wrong. While it is impossible to give a comprehensive list in a brief review, here is a few: arguments against defensive programming, don't ship the debug version, avoid boolean arguments, and don't clean up code unless the clean-up is critical to the product's success. Finally, the recommendation "Make it fast, even if it is not guaranteed to be portable" flys in the face of one of the biggest success stories mentioned early in the book: getting Microsoft to build the Macintosh version directly from the newly created Windows source and sharing 80% of the code (with the accompanying savings) in the process. The truth is, a typical piece of software's life is significantly longer than the hardware it was written for and, therefore, will be ported. It is possible to write C code so it is reasonably portable, readable, and "modern in every way." In the book's defense, this wasn't strictly the purpose and scope of the book. Instead, the book was "Microsoft's techniques for developing bug-free C programs." In the early 1990's, Microsoft had to deliver software on slow processors with a segmented memory model. I got the sense that some of the recommendations in this book were due to those constraints (which are no longer present--even on Windows machines at this point). Until and unless MS Press updates the work to relax some of the recommendations obviously aimed at managing primative hardware and immature software I can't recommend this book. If, however, such a revision was made that included those changes and the additions of such notions as Refactoring (Fowler) this could be a valuable resource for C programmers or those who which to develop C coding standards.
17 of 19 people found the following review helpful:
5.0 out of 5 stars
Should be mandatory for every professional programmer,
By A Customer
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
This is one of the best books on programming ever written. Maguire concentrates on how to eradicate bugs early in the cycle. At first what he says seems so simple. But these ideas are so powerful, and so well presented, that I'd give a copy to every programmer I know if I could afford to.Don't worry that his examples are in C. The ideas transcend the source language. If half of the programmers followed half of his suggestions half of the time, the software industry would undergo a revolution in quality. There is no silver bullet, but these suggestions are so practical. It's just a matter of adopting a few good habbits. This book will be a classic. Scratch that. It *is* a classic. If you're a programmer, it belongs on your shelf beside _Programming Pearls_, _Code Complete_, and Knuth.
40 of 49 people found the following review helpful:
4.0 out of 5 stars
Very good book on preventing C and C++ bugs,
By Dennis L. Hughes "Windows Programmer/Architect" (Austin, TX USA) - See all my reviews (VINE VOICE) (REAL NAME)
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
I'm posting this mostly to counteract the buffoons who obviously gave this book a poor rating only because it was published by Microsoft Press. That's like criticizing Core Java 2 because you don't like Sun.MS Press actually has an enviable stable of writers, and publishes many fine books. Ever heard of Steve McConnell? Jeff Prosise? Charles Petzold? Anyway, this book is a very good source of advice on preventing C bugs on any platform. At one company where I worked, the VP of Engineering used to loan it to many programmers fresh out of college. Like Practice of Programming, it helps you get from what you learn in school to what will help you write production code in the real world. I don't give it 5 stars because it's just not really a classic. You should give it a read if you program C or C++, though.
13 of 15 people found the following review helpful:
4.0 out of 5 stars
Good summary of sound techniques,
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
This book contains practical advice on how to write bug-free code. It covers a large number of guidelines which are generally applicable to all software development projects.My only caution is that these techniques, when applied by novice programmers, is no doubt the source of much of Microsoft's code bloat. Also, encouraging the programmer to rely heavily on the source-level debugger can prevent developers from getting a real sense of the program's performance on user-level hardware. Otherwise, a very good book and very useful advice, much of which I've been applying in my own projects.
10 of 11 people found the following review helpful:
5.0 out of 5 stars
Must have for anyone writing code in C or C++.,
By
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
This book is a must have for anyone writing code in C or C++. It explains how to properly use debug code such as asserts and other techniques to write more reliable code. I learned several techniques that I now use every day without ever thinking about it. I shudder when I look at old code I wrote before reading this book. Writing Solid Code is literally required reading in many software engineering departments. Steve also relates several stories about bugs in Excel or other Microsoft products that were caught using these techniques or that would have been caught if the techniques were used. Any C/C++ programmer, no matter how much or how little experience, could benefit from reading this book.
7 of 7 people found the following review helpful:
5.0 out of 5 stars
Excellent Content,
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
The presentation of the content - as noted by other reviews - may not be 5 star, but the content definitely makes up for any failings of the book. The book consolidates practices and information that every programmer should know. Its one of the few books I'd recommend to any programmer.
12 of 14 people found the following review helpful:
4.0 out of 5 stars
Don't buy this book if you ENJOY debugging code!,
By
This review is from: Writing Solid Code (Microsoft Programming Series) (Paperback)
Having read a number of reviews of this book several weeks agoI decided to give it a go! After reading just 2 chapters I was implementing a number of his suggestions. Although the title of the book concerns development using C, I have found it very helpful in writing in Delphi. If you think that code should read like a mystery novel, where Maguire makes a number of suggestions for making your software I have noted that most of the reviews of the book which 'can it' Try it, I think you will like it! |
|
Most Helpful First | Newest First
|
|
Writing Solid Code (Microsoft Programming Series) by Steve Maguire (Paperback - January 1, 1993)
Used & New from: $0.14
| ||