Cart (Loading....) | Create Account
Close category search window
 

OO in one sentence: keep it DRY, shy, and tell the other guy

Sign In

Cookies must be enabled to login.After enabling cookies , please use refresh or reload or ctrl+f5 on the browser for the login options.

Formats Non-Member Member
$31 $13
Learn how you can qualify for the best price for this item!
Become an IEEE Member or Subscribe to
IEEE Xplore for exclusive pricing!
close button

puzzle piece

IEEE membership options for an individual and IEEE Xplore subscriptions for an organization offer the most affordable access to essential journal articles, conference papers, standards, eBooks, and eLearning courses.

Learn more about:

IEEE membership

IEEE Xplore subscriptions

2 Author(s)
Hunt, A. ; Andy Hunt and Dave Thomas are partners The Pragmatic Programmers and authors of the Jolt Productivity Award-winning The Pragmatic Starter Kit book series. Contact them via www.PragmaticProgrammer.com. ; Thomas, D.

Some people feel that "getting" object-oriented programming is a difficult, time-consuming process. Many of the cornerstones of OO programming benefit other programming paradigms as well. Even if we are writing shell scripts or batch files, we can use these techniques to great advantage. There are many aspects to writing good code, but most of these hinge on a single underlying quality: flexibility. Flexibility means that you can change the code easily, adapt it to new and revised circumstances, and use it in contexts other than those originally intended. Most of the important lessons to be learned about object technology - how to avoid many common mistakes and keep code flexible - can be summed up into one sentence: keep it DRY (don't repeat yourself), shy, and tell the other guy. We describe what that means and how we can apply these lessons to all good code, not just OO code.

Published in:

Software, IEEE  (Volume:21 ,  Issue: 3 )

Date of Publication:

May-June 2004

Need Help?


IEEE Advancing Technology for Humanity About IEEE Xplore | Contact | Help | Terms of Use | Nondiscrimination Policy | Site Map | Privacy & Opting Out of Cookies

A not-for-profit organization, IEEE is the world's largest professional association for the advancement of technology.
© Copyright 2014 IEEE - All rights reserved. Use of this web site signifies your agreement to the terms and conditions.