O'Reilly logo
  • Paul Michelman thinks this is interesting:

Chapter 2. Separate Use from Construction

Moving from a procedural approach to an object-oriented one, with all its assumed benefits, tends to add an additional issue: instantiation. Whereas a procedural program or script tends to load, run, and then unload, the creation of object instances can be much more involved and can continue throughout the runtime life cycle of the software. Given this, developers often feel that solving “the instantiation” problem is job one. It is decidedly not. Also, typically instances will be created by the same code that uses them, often proximate to their use. This would seem to make the code more readable and easier to work with, but it often ...


Cover of Essential Skills for the Agile Developer: A Guide to Better Programming and Design


When transitioning from a traditional procedural approach to an object-oriented one, adds the issue of instantiation. This lesson discusses the issues that arise when you do not separate the use of an instance from its construction.