BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Five Habits of Highly Effective Software Developers

| by Floyd Marinescu on Aug 24, 2006. Estimated reading time: 1 minute |
What are some of the code-level practices of highly effective developers? Robert Miller wrote a detailed article on  Java.NET covering 5 practices which could apply to any language, including minimalist constructors, methods with clear focus and intent, minimizing logic in mutating methods, and minimizing dependendies between behaviour methods.  Miller's article frames the practices as making developers more effective, and thus more profitable.

The habits, summarized below, are:
Habit 1: Constructor Performs Minimal Work. Ideally, its constructor will only load data into its instance variables using the constructor's parameters
Habit 2: Methods Clearly Convey Their Intent.
 Long and descriptive method names help developer teams quickly understand the purpose and function of their software.
Habit 3: An Object Performs a Focused Set of Services.
Each object in the software to be focused on performing a small and unique set of services. Objects that perform a small amount of work are easier to read and more likely to be used correctly because there is less code to digest.
Habit 4: State-Changing Methods Contain Minimal Behavior Logic.   Intermixing state-changing logic with behavior logic makes the software more difficult to understand because it increases the amount of work happening in one place.
Habit 5: Behavior Methods Can Be Called in Any Order. Ensure that each behavior method provides value independent of any other behavior method.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Note my reply on the site by Matthew Adams

It's over on the article's site:
today.java.net/pub/a/today/2006/08/24/five-habi...

--matthew

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT