Awesome
#Design Patterns
##Description
This is a collection of well known design patterns and some sample code how to implement them in C++, Java, Python and more(latter).
##Progress
Pattern | Description | C++ | Java | Python | PHP | Perl |
---|---|---|---|---|---|---|
singleton | DONE | DONE | DONE | DONE | DONE | DONE |
proxy | DONE | DONE | DONE | DONE | DONE | DONE |
builder | DONE | DONE | DONE | DONE | DONE | DONE |
command | DONE | DONE | DONE | DONE | DONE | DONE |
decorator | DONE | DONE | DONE | DONE | DONE | DONE |
facade | DONE | DONE | DONE | DONE | DONE | DONE |
observer | DONE | DONE | DONE | DONE | DONE | DONE |
template | DONE | DONE | DONE | DONE | DONE | DONE |
adapter | DONE | DONE | DONE | DONE | DONE | DONE |
flyweight | DONE | DONE | DONE | DONE | DONE | DONE |
bridge | DONE | DONE | DONE | DONE | DONE | DONE |
composite | DONE | DONE | DONE | DONE | DONE | DONE |
interpreter | DONE | DONE | DONE | [TODO] | DONE | DONE |
mediator | DONE | DONE | DONE | DONE | DONE | DONE |
memento | DONE | DONE | DONE | DONE | DONE | DONE |
state | DONE | DONE | DONE | DONE | DONE | DONE |
prototype | DONE | DONE | DONE | DONE | DONE | DONE |
strategy | DONE | DONE | DONE | DONE | DONE | DONE |
visitor | DONE | DONE | DONE | DONE | DONE | DONE |
simple-factory | DONE | DONE | DONE | [TODO] | DONE | DONE |
abstract-factory | DONE | DONE | DONE | DONE | DONE | DONE |
factory-method | DONE | DONE | DONE | DONE | DONE | DONE |
chain-of-responsibility | DONE | DONE | DONE | DONE | DONE | DONE |
iterator | DONE | DONE | [TODO] | DONE | DONE | |
null-object | DONE | DONE | [TODO] | DONE | DONE | |
object-pool | DONE | [TODO] | [TODO] | DONE | ||
private-class-data | [TODO] | [TODO] | [TODO] | [TODO] |
##Contribute
Please feel free to fork and extend existing or add your own examples and send a pull request with your changes!
##License