A flyweight is an object that minimizes memory use by sharing as
much data as possible with other similar objects; it is a way to use
0 replies - 3539 views - 11/21/12 by Ayende Rahien in Articles
The bridge pattern is a design pattern used in software engineering
which is meant to "decouple an abstraction from its implementation so
2 replies - 6053 views - 11/20/12 by Ayende Rahien in Articles
The composite pattern describes that a group of objects are to be
treated in the same way as a single instance of an object. The intent of
2 replies - 2889 views - 11/20/12 by Ayende Rahien in Articles
In software engineering, the singleton pattern is a design pattern
that restricts the instantiation of a class to one object. This is
2 replies - 3442 views - 11/19/12 by Ayende Rahien in Articles
Create objects based on a template of an existing object through cloning. More about this pattern. This is how it looks like: Surprisingly
0 replies - 4029 views - 11/19/12 by Ayende Rahien in Articles
Define an interface for creating an object, but let the classes that implement the interface decide which class to instantiate. The Factory method lets a class...
0 replies - 4121 views - 11/03/12 by Ayende Rahien in Articles
I've mentioned before that I really don’t like the Abstract Factory pattern, and in particular, code like this:static IGUIFactory CreateOsSpecificFactory()
0 replies - 3635 views - 10/28/12 by Ayende Rahien in Articles
I had a job to check our project code quality. And have to report it
back to my team leader for any obstacle that i found in the project. I
found a lot...
0 replies - 4789 views - 10/25/12 by Ronald Daniel in Articles
tells me that I purchased this book in Sep 2004, and have since then
misplaced it, for some reason. I remember how important this book...
0 replies - 5417 views - 10/23/12 by Ayende Rahien in Articles
It defines an object that encapsulates how a set of objects interact.
Mediator promotes loose coupling by keeping objects from referring to...
0 replies - 4919 views - 10/20/12 by Cristian Chiovari in Articles
The Memento captures and externalizes an object’s internal state so
that the object can later be restored to that state. Command can use...
0 replies - 4084 views - 10/20/12 by Cristian Chiovari in Articles
The State pattern allows an object to alter its behavior when its internal state changes
Localizes state-specific behavior and...
0 replies - 3887 views - 10/19/12 by Cristian Chiovari in Articles
Decouples abstraction from implementation. Inheritance tightly couples
an abstraction with an implementation at compile time. The Bridge...
1 replies - 5298 views - 10/18/12 by Cristian Chiovari in Articles
GoF Design pattern book states the intent of Chain of Responsibility pattern as:
Avoid coupling the sender of a request to the receiver by
giving more than...
3 replies - 7394 views - 10/02/12 by Mohamed Sanaulla in Articles
I remember the time when I first started to extensively used Factories in my code.
And boy is it embarrassing to even think...
3 replies - 7284 views - 09/13/12 by Jens Schauder in Articles
Ever since the “Gang of Four”
book, everyone and their uncle is an expert in patterns. Software is
all about patterns – the...
0 replies - 7411 views - 09/10/12 by David Green in Articles
When statisticians analyze data, they don’t just look at the data
you bring to them. They also consider hypothetical data that you could
have brought. In...
0 replies - 3665 views - 09/07/12 by John Cook in Articles
Thursday is code puzzler day here at DZone. The idea is
simple: solve the coding problem as efficiently as you can, in any
language or framework that you...
4 replies - 3533 views - 08/29/12 by James Sugrue in Articles
Writing code has never been easy.Well, let me re-phrase that: Writing readable code has never been easy.Many programmers work on their code alone. They define...
0 replies - 12732 views - 08/22/12 by Kristiono Setyadi in Articles
Reading blogs on the Internet is a good way to keep updated on what
happens in the industry and to get short introductions to specific
topics. When it...
0 replies - 10935 views - 07/19/12 by Anders Abel in Articles