This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pattern implemtation data structures

 
jatandar dhirwani
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Michael
 
Kent Beck
author
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jatandar,

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.

Regards,

Kent Beck
Three Rivers Institute
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic