Elegance always pays off

In the short term, it might seem like it takes much longer to come up with a truly graceful solution to a problem, but when it works the first time and easily adapts to new situations instead of requiring hours, days, or months of struggle to update down the line, you'll reap the rewards in saved time and sanity—even if no one else can measure them. Not only will this strategy yield a program that's easier to build and debug, but your applications will also be easier to understand and maintain, and that's where the financial value lies. It protects your company's investment in the original program development, so that even if every programmer on the original development team moves on to other things, new talent can pick up where they left off. This point can take some experience to understand, because it can appear that you're not being productive while you're making a piece of code elegant. Resist the urge to hurry; it will only create inefficiencies.



Previous: Introduction
 
Next: #2 - First make it work, then make it fast


Elegance always pays off Use bare bones methodology
First make it work, then make it fast Automate everything
Remember the "divide and conquer" principle Write test code early
Separate the class creator from the class user (client programmer) Get abstract
Name classes intelligently An indirection should have a meaning


Java Zone - Get Help - Search Tips

 

Eckel's Ten Java Maxims for Good Design Implementation
DevX's Review of Eckel's "Thinking in Java"
"Thinking in Java, Second Edition" DevX product listing
Eckel's Home Page
Java Code Library
Java Pro Magazine
Java Discussion Group

 TALK BACK
Cutting a corner or two in order to meet a deadline is always a temptation. Can you tell us of an experience of yours that did (or didn't) work out the way you expected? Join the discussion and tell our growing Java community about it.
Click here to Join


Save on Hot Java Specials
SOFTWARE:
dtSearch Web
Add power searching to your web site.
Buy Now!
BOOKS:
PointBase Mobile Edition
Enable local data access for mobile users.
Buy Now!
Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map
Jupiterweb networks

internet.comearthweb.comDevx.comClickZ

Search Jupiterweb:

Jupitermedia Corporation has four divisions:
JupiterWeb, JupiterResearch, JupiterEvents, and JupiterImages

Copyright 2004 Jupitermedia Corporation All Rights Reserved.
Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Jupitermedia Corporate Info | Newsletters | Tech Jobs | E-mail Offers