Software:
News ToolsReg Shops |
The Register » Software » When code goes bad: What to watch forEmergent Design: Pathologies uncoveredPublished Tuesday 20th May 2008 10:02 GMT Indicators of redundancyHere are some indicators of redundancy.
My boss and mentor Alan Shalloway puts it this way: There are three numbers in software: 0, 1, and infinity. 0 represents the things we do not do in a system (we do those for free). 1 represents the things we do once and only once. But at the moment we do something twice, we should treat it as infinitely many and create cohesive services that allow it to be reused. It is helpful to be surrounded by smart people like Boon and Alan, and it is also an advantage of being part of a profession. Other professionals are your resources, and you are theirs. SummaryI teach different things: design patterns, systems architecture, unit testing, test-driven development, and so forth. I've noticed that no matter what the topic is, so long as it is part of software development, I have to start by making sure that everyone understands the qualities in this chapter. Of course, many do. However, it's very common to find that two people are using a word like cohesion very differently; or that one person thinks of coupling very simply (it's coupled or it isn't), whereas another has more depth (the different types of coupling). I don't expect to have taught you anything new or earthshaking here (but if I have, so much the better!). The purpose here was to make sure you're emphasizing the same things I am, and that we're using these terms in the same way, and with the same depth. Now, we have a foundation to build. This chapter is excerpted from the new book, Emergent Design: The Evolutionary Nature of Professional Software Development by Scott Bain, published by Addison-Wesley Professional, March 2008 ISBN 0-321-50936-6 Copyright (c) 2008 Pearson Education, Inc. For more information, please see informIT.com and Register Books. 18 comments posted — Comment period finished I can forgive every coding blunderPosted: 10:56 20th May 2008 @PetePosted: 11:27 20th May 2008 @I can forgive every coding blunderPosted: 11:29 20th May 2008 @I can forgive every coding blunderPosted: 11:47 20th May 2008 A metter of degreePosted: 12:05 20th May 2008
Track this type of story as a custom Atom/RSS feed or by email.
|
Developer HeadlinesThe UK's latest developer news from MSDN |
Top 20 stories • All The Week’s Headlines • Archive • Search