Every so often, we get a question asking what design pattern to use in order to achieve some goal, such as...
- recommend a design pattern for a C++ application that takes some data, processes it, and returns results
- Best OOP design pattern for a sequence of operations
- What is a good design pattern for monitoring a protocol handshake?
I wonder if a lot of the people asking these questions aren't aware that "design pattern" means a specific and common solution to one particular reoccurring problem, and believe that it just means "way of designing something". If so, these people aren't really asking "what design pattern should I use", and telling them that that's not a good question to ask isn't helpful. What they're really asking is just "how should I design this".
When we see questions like this, should we edit them so that they just ask "what design should I use" or "how should I design this" instead of "what design pattern should I use"?