ผลต่างระหว่างรุ่นของ "Prg2/design patterns 2"
ไปยังการนำทาง
ไปยังการค้นหา
Jittat (คุย | มีส่วนร่วม) |
Jittat (คุย | มีส่วนร่วม) |
||
แถว 20: | แถว 20: | ||
*** Strategy: [https://en.wikipedia.org/wiki/Strategy_pattern wikipedia], [https://refactoring.guru/design-patterns/strategy refactoring guru] | *** Strategy: [https://en.wikipedia.org/wiki/Strategy_pattern wikipedia], [https://refactoring.guru/design-patterns/strategy refactoring guru] | ||
*** Chain of Responsibility: [https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern wikipedia], [https://refactoring.guru/design-patterns/chain-of-responsibility refactoring guru] | *** Chain of Responsibility: [https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern wikipedia], [https://refactoring.guru/design-patterns/chain-of-responsibility refactoring guru] | ||
− | *** Visitor: [https://en.wikipedia.org/wiki/Visitor_pattern wikipedia], [https://refactoring.guru/design-patterns/visitor refactoring guru] | + | *** <del>Visitor: [https://en.wikipedia.org/wiki/Visitor_pattern wikipedia], [https://refactoring.guru/design-patterns/visitor refactoring guru]</del> |
+ | **** Visitor pattern is used mostly in static type languages. It is very unpopular in Python as it does not add much values and it is fairly complex to implement. | ||
== Clips == | == Clips == |
รุ่นแก้ไขปัจจุบันเมื่อ 01:48, 23 มีนาคม 2564
- This is part of Programming 2 2563
Basic information
- Patterns covered this week
- Creational patterns
- Factory Method: wikipedia, refactoring guru
- Abstract Factory: wikipedia, refactoring guru
- Structural patterns
- Bridge: wikipedia, refactoring guru
- Adapter: wikipedia, refactoring guru
- Facade: wikipedia, refactoring guru
- Composite: wikipedia, refactoring guru
- Decorator: wikipedia, refactoring guru
- Behavioral patterns
- Template Method: wikipedia, refactoring guru
- Strategy: wikipedia, refactoring guru
- Chain of Responsibility: wikipedia, refactoring guru
Visitor: wikipedia, refactoring guru- Visitor pattern is used mostly in static type languages. It is very unpopular in Python as it does not add much values and it is fairly complex to implement.
- Creational patterns