Quantcast
Channel: InfoWorld Design Techniques
Viewing all articles
Browse latest Browse all 45

What's a method to do?

$
0
0

In last month's Design Techniques column, I told half of the method design story: minimizing method coupling. In this month's installment, I'll reveal the other half of the story: maximizing method cohesion.

As with last month's column, "Designing fields and methods," the principles discussed may be familiar to many readers, as they apply to just about any programming language. But given the vast quantity of code I have encountered in my career that didn't benefit from these basic principles, I feel it is an important public service to address the basics in the early installments of this column. In addition, I have attempted in this article to show how the basic principles apply in particular to the Java programming language.

To read this article in full, please click here


Viewing all articles
Browse latest Browse all 45

Latest Images

Trending Articles





Latest Images