Add a description to what the design patterns are and what they try to achieve
Opened this issue · 3 comments
Venthe commented
Add a description to what the design patterns are and what they try to achieve
JC-85 commented
@Venthe I think it would be good if there was a README.md to go together with each example. That way you could get a idea of what the pattern is supposed to accomplish before diving into the code.
Are you taking pull-requests? I´d be up for expanding on the singleton example.
Venthe commented
I sure do; though I think that it should be in code. What do you think?
JC-85 commented
I think the implementation should be commented through-out with explanations on each step. You could also preface every class with a description of its purpose. But each pattern should also be accompanied by an explanation of the theory behind the pattern. I got a pull request ready with how I would mange it, but feel free to reject it if it doesn't fit your taste.