design_patterns_in_typescript icon indicating copy to clipboard operation
design_patterns_in_typescript copied to clipboard

:triangular_ruler: Design pattern implementations in TypeScript

Results 9 design_patterns_in_typescript issues
Sort by recently updated
recently updated
newest added

feel free to make suggestion and improvements based on the approach.

`Observer` don't need to know `Subject`(aggregate `Subject`).

I think prototype pattern is reduce resource consumption. Use` Object.create(Prototype.prototype) ` wouldn't it be better?

If I want to add ConcreteProductC, I have to modify ProductFactory . This will break the Open-Closed Principle. So, I suggest rewriting factory_method like my pull request. We can add...

Hi, Since node/javascript does not have the problem that a builder pattern fixes, since you can just pass along an object literal, why would you want to apply all this...

Hi Torok, It is a question and not an issue. I wonder if you could describe how to debug step by step each design pattern. Maybe generating map files would...

Hi Torok, I suggest you structure the 23 design patterns into 3 categories : - Creational Patterns - Structural Patterns - Behavioral Patterns Thanks

Aim is to implement examples using the design patterns.

question