Anonymous
Unregistered
|
|
How can we take advantage of the Builder creational pattern without accessing an object's state data after instantiation?
If we follow the paradigm presented in the article, creation of complex objects cannot be achieved by constuctors alone because that would involve large data transfers. Instead, the creation process itself must be limited to specific messages sent by other objects to a creational pattern object.
It is difficult to find a solution in the article to the challanges of complex object creation in the absence of information access methods.
|
Allen Holub
Unregistered
|
|
... if they mean that objects must access any data outside themselves. This means that the Builder pattern is evil. As a matter of fact, the only pattern I've found that isn't evil is the Singleton pattern, and... actually, that one's evil too.
You will have much success in your career if you just follow the guidelines set forth in the article. Using the many strategies and techniques I've outlined, you'll soon be writing monolithic but successfully object-oriented systems in a jiffy.
-AIH
|
|