- Notifications
You must be signed in to change notification settings - Fork48
OOP Design Patterns Code Examples
License
kiat/OOP-Design-Patterns
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
In this Repository we collect example design patterns inJava andC++.
Directory Java/ includes Java examples
Directory C++/ includes C++ examples
- We useApache Maven to build Java Examples.
- We useJunit for unit test.
- We usefindbugs for static code analysis. We use themaven plugin for findbugs
- We usecheckstyle to check our code style. We use themaven plugin for checkstyle
We use CMake to build C++ code.
- Use Smart pointer in C++
- Use C++14
- Use one of the compilerLLvm -clang,'Gnu Compiler Collection'gcc or 'Gnu C Compiler' g++, and enable warning flags while compiling your code
- Check Memory Leaks usingvalgrind
valgrind --tool=memcheck<your_app><your_apps_params>
Design Patterns: Elements of Reusable Object‐Oriented Software By Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides Addison‐Wesley,1994
Head First Design Patterns By Eric Freeman, Elisabeth Robson, Bert Bates, Kathy Sierra O’Reilly, 2004
Design Patterns Explained: A New Perspective on Object Oriented Design, (Software Patterns) by Alan Shalloway, James R. Trott, Addison Wesley, 2004 ISBN-13: 978-0321247148
Pattern-Oriented Software Architecture Volume 1: A System of Patterns by Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, Michael Stal. 1996, ISBN-10: 0471958697
https://refactoring.guru/design-patterns/catalogList of Design Patterns with description and Example code.
http://java-design-patterns.comList of Software Design Patterns with examples in Javahttp://java-design-patterns.com/patterns/
http://www.oodesign.com/This website is an older websites. It provides a good list of the maindesign patterns, description of them, examples and their UML diagrams.
https://sourcemaking.com/design_patternsA professional Website with good different examples. If you are looking for different examples for each patterns than the classic examples. This site is a good source.
List of Software Design Patterns on Wikipediahttps://en.wikipedia.org/wiki/Category:Software_design_patterns
- Design Patterns by University of Alberta, this is partSoftware Design Architecture Specialization
- Object-Oriented Java
- Software Design Abstraction
Videos by Christopher Okhravi describing examples formHead First Design Patterns Book
If you program C++, I highly Recommend Videos by Bjarne Stroustrup. For examples onCppCon, CppCon 2017,Keynotes by Bjarne Stroustrup . (BTW, this line should be on top of top of this list :) )
About
OOP Design Patterns Code Examples
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors10
Uh oh!
There was an error while loading.Please reload this page.