G
grahamo
Hi,
if you were god and were in the position to ask a C++ developer
whether they had a full understanding of design patterns, what would
you ask?
personally,I would ask them this....
1) What are the *benefits* of the builder pattern in the context of
C++?
2) What's the difference between the factory and abstract factory
pattern? Can you give a concrete example thats relevant in the context
of C++?
3) Under what circumstances would you use the decorator pattern? What
are it's benefits over other approaches?
4) give a *concrete* example of where the flyweight pattern outweights
another strategy, again in the context of C++
What would you answer to the above questions?
Can you think of other challenging questions that would engender good
conversation? Again in the context of C++ and design patterns?
maybe this could be considered a revision course wrt design patterns
and C++............
cheers
Graham
if you were god and were in the position to ask a C++ developer
whether they had a full understanding of design patterns, what would
you ask?
personally,I would ask them this....
1) What are the *benefits* of the builder pattern in the context of
C++?
2) What's the difference between the factory and abstract factory
pattern? Can you give a concrete example thats relevant in the context
of C++?
3) Under what circumstances would you use the decorator pattern? What
are it's benefits over other approaches?
4) give a *concrete* example of where the flyweight pattern outweights
another strategy, again in the context of C++
What would you answer to the above questions?
Can you think of other challenging questions that would engender good
conversation? Again in the context of C++ and design patterns?
maybe this could be considered a revision course wrt design patterns
and C++............
cheers
Graham