DDJ Book Review (2004.2): Small Is Still Beautiful (with a PRAMATIC series)

zhaozj2021-02-08  559

Review by gregory v. Wilson

Copyright (c) Dr. Dobb's Journal, February, 2004

Time to confess:. I prefer small books to large ones In part, it's because my back is getting old and does not enjoy lugging 1200-page tomes around The real reason, however, is that a book is supposed to be a conversation. Between the author and the reader, and who wants to hang out with anyone who is 1200 Pages Worth of long-wind?

Andy Hunt and Dave Thomas's two new books are therefore doubly welcome Not only are they well-written and informative, they are also blessedly short The first, Pragmatic Unit Testing:.. In Java with JUnit, tells you everything you need to start testing your Java programs efficiently The second, Pragmatic Version Control:. Using CVS, covers the basics of CVS, and explains how to use it for both personal and team projects Their exposition and examples are as clear as those in the duo's first book, The Pragmatic. Programmer (reviewed here in March 2000), and the pragmatism of the titles can be found on every page. If you understand loops and classes, and are wondering what to learn next, you need look no further than these two books.

Elliotte Rusty Harold's Effective XML: 50 Specific Ways to Improve Your XML is just as practical a book, although you will have to work a little harder to put its advice into practice His previous book, Processing XML with Java (reviewed here in July 2003. ), told you everything you would ever need to know about how to deal with XML programmatically This book looks at XML itself;. in particular, it explains which of XML's many features should be used when For example, Item 12 tells you to store. metadata in attributes, then spends six pages explaining why. Item 24 analyzes the strengths and weaknesses of various schema languages ​​(the W3C's XML Schema, DTDs, Schematron, and Relax NG), while Item 38 covers character set encodings. It's all very useful, opinionated, and well informed.Like Effective XML, Elfriede Dustin's Effective Software Testing: 50 Specific Ways to Improve Your Testing is another entry in Addison-Wesley's growing "Effective" series It contains a lot of useful ideas, bu. .

Mark Graff and Kenneth van Wyk's Secure Coding:. Principles and Practices is another good book with the same problem I have spent most of the last four years working on an access-control and identity-management product, which has made me painfully aware of just how insecure the average program is. Graff and van Wyk offer a lot of useful advice for programmers who want to know what they should be doing, but as with Dustin's book, most of it will be hard for newcomers to the field to translate into practice . "Be kind to maintainers" and "do not trust web URLs" are good tips, but what exactly do they mean in practice? to be fair, the authors do provide a few snippets of sample code, such as a restricted shell for Sendmail, But Many More Are Needed.

The last book on this month's list is David Brackeen's Developing Games in Java. At 970 pages, I'm sure that better page design could have cut its length by a third. That said, I was impressed by how much Brackeen manages to cover, and how well he covers it. The book is clearly aimed at young programmers who know just enough Java to get themselves in trouble. Brackeen patiently works through everything such readers need to know to start building modern multiplayer games, including threading, Swing user interfaces, 3D graphics, and so on by the midpoint of the book, he is discussing game physics and artificial intelligence;. by its end, he is pointing readers at performance profiling and Java Web Start While it's obviously impossible to do any of these topics real. justice in a chapter each, Brackeen does explain the key ideas and show how they relate to one another. If the University of Toronto would let me teach an undergraduate course on game programming, I would probably use this as A Textbook.pragmatic Unit Testing: in Java with Junit Andy Hunt and Dave Thomas The Pragmatic Program 2003 138 PP ., $ 29.95 isbn 0974514012

Pragmatic Version Control: USING CVS DAVE Thomas and Andy Hunt The Pragmatic Program, 2003 159 PP., $ 29.95 ISBN 0974514004

Effective XML: 50 Specific Ways to Improve Your XML Elliotte Rusty Harold Addison-Wesley, 2004 304 PP., $ 44.99 ISBN 0321150406

Effective Software Testing: 50 Specific Ways to Improve Your Testing Elfriede Dustin Addison-Wesley, 2003 271 PP., $ 34.99 ISBN 0201794292

Secure Coding: Principles and Practices Mark G. Graff and Kenne R. Van Wyk O'Reilly & Associates, 2003 202 PP., $ 29.95 ISBN 0596002424

转载请注明原文地址:https://www.9cbs.com/read-69.html

New Post(0)