is this a pattern?
From: Karl Hungus (nnnnndddddd_at_hotmail.com)
Date: 03/16/04
- Next message: Simon Strandgaard: "Re: is this a pattern?"
- Previous message: Shayne Wissler: "Re: dynamic type checking - a pauline conversion?"
- Next in thread: Simon Strandgaard: "Re: is this a pattern?"
- Reply: Simon Strandgaard: "Re: is this a pattern?"
- Reply: H. S. Lahman: "Re: is this a pattern?"
- Reply: Daniel T.: "Re: is this a pattern?"
- Reply: Robert C. Martin: "Re: is this a pattern?"
- Reply: Shiping: "Re: is this a pattern?"
- Reply: Cristiano Sadun: "Re: is this a pattern?"
- Reply: Daniel Parker: "Re: is this a pattern?"
- Reply: Dave Harris: "Re: is this a pattern?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Mar 2004 15:16:00 GMT
Sometimes I use a static collection in a class to store instances of that
class. Everytime I instantiate it, a reference to the instance is stored in
the static collection. This way I dont have to use a manager class of any
kind to deal with all the instances.
Is this a pattern? good/bad OOD?
-TIA
Karl
- Next message: Simon Strandgaard: "Re: is this a pattern?"
- Previous message: Shayne Wissler: "Re: dynamic type checking - a pauline conversion?"
- Next in thread: Simon Strandgaard: "Re: is this a pattern?"
- Reply: Simon Strandgaard: "Re: is this a pattern?"
- Reply: H. S. Lahman: "Re: is this a pattern?"
- Reply: Daniel T.: "Re: is this a pattern?"
- Reply: Robert C. Martin: "Re: is this a pattern?"
- Reply: Shiping: "Re: is this a pattern?"
- Reply: Cristiano Sadun: "Re: is this a pattern?"
- Reply: Daniel Parker: "Re: is this a pattern?"
- Reply: Dave Harris: "Re: is this a pattern?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|