File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Agile and Other Processes and the fly likes Pattern implemtation data structures Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "Pattern implemtation data structures" Watch "Pattern implemtation data structures" New topic

Pattern implemtation data structures

jatandar dhirwani

Joined: Aug 09, 2007
Posts: 5
will the book implementing patterns will help in creating new and complex data structures and improve the time of execution of java code
Michael Hunger

Joined: Dec 17, 2007
Posts: 6
It will certainly help developing complex structures by giving you the patterns for encapsulating the data and the complexity as well as managing these now less complex units of your domain model.

Regarding performance. If you have communicative, _simple_ and flexible code it is much easier to improve performance of the bottlenecks of your system.

So it helps in both ways.

Kent Beck
Ranch Hand

Joined: Nov 07, 2003
Posts: 45

The patterns don't address optimization. Ken Auer and I wrote a paper called Lazy Optimization in "Pattern languages of program design 2" talking about performance.

As far as complex data structures, the patterns won't help directly but they will help you communicate your intentions in the resulting code. My bias, is to avoid the need for complex data structures but when I need one, I want it to be as easy to understand as possible since such structures often need to be changed.


Kent Beck
Three Rivers Institute

Author of <a href="" target="_blank" rel="nofollow">JUnit Pocket Guide</a>
I agree. Here's the link:
subject: Pattern implemtation data structures
It's not a secret anymore!