This is kind of a broad question, but for my own understanding I decided I would throw it out there. Can anyone recommend designs, or maybe even generally accepted design patterns for situations wher
If I try to keep code and \"other related stuff\" together, how is that called? Or if I fail to do this, would that be an (anti-)pattern with a name? (I need the name to refer to this practice in a do
Can anyone identify the problem within this snippet of Java/C# code implementing Singleton Design Pattern.
I have a service that calls database to retrieve data; this service will return data as data table. Now I want to implement design pattern that fit in between my client and the service so it will conv
For a uni assignment I\'m writing a java program which needs to save and load an object hierarchy to XML file开发者_StackOverflows. For example, the program creates a Zoo class with a list of subclass
I am thinking to develop a MCQ scoring system. There will be three mode, easy, intermediate a开发者_StackOverflownd hard. Any new mode may be introduced later. Marking for each correct answer depends
There is certain implementation pattern in C++, that I describe below, it 开发者_JAVA技巧is used in std::iostream library and other similar libraries.
I have an abstract class called ChainHandler and many implementations of the ChainHandler. Other programmers will write other implementations of that ChainHandler.
Consider I have some environment(let\'s name it world) and some entities(let\'s name them bot开发者_如何学Cs), that belong to the world. I want bots to interact with each other(e.g. get a list of the
As a beginner for Android development, code samples I am learning from look somewhat disorganized and are hard to test or even to understand. So I followed this post suggested: Using Dependency Inject