New answers tagged design-patterns
2
votes
Unit of Work & Repository Pattern - Injecting UoW into Repository Base
Quick remarks:
Transaction() is not a proper method name.
OwnerTable.Title: a table has no "title", it has a name.
<...
- 11.1k
2
votes
Chain of Responsibility Pattern using std::any
Manage Your Memory Correctly!
At present, you store C-style pointers everywhere, apparently as weak references, but nothing actually owns any of the workers. You create ...
- 3,626
2
votes
Chain of Responsibility Pattern using std::any
The chain of responsibility pattern deals with one request not a bunch of requests. Having to deal with Dishes, Inventory, and <...
- 336
Top 50 recent answers are included
Related Tags
design-patterns × 1414c# × 465
object-oriented × 378
java × 300
c++ × 162
php × 123
python × 116
javascript × 110
.net × 53
beginner × 47
performance × 43
c++11 × 43
repository × 43
mvc × 38
dependency-injection × 37
factory-method × 34
entity-framework × 32
game × 31
python-3.x × 29
unit-testing × 28
interface × 23
algorithm × 22
generics × 22
multithreading × 21
singleton × 20