DEV Community

Discussion on: Design Patterns Everyday

 
anuraghazra profile image
Anurag Hazra

Actually i have seen some example where the type argument isn't required. And some of them used the type argument it depends on the context I think.

I think I have to update that example with better one.

Here's another example if you wanna look:github.com/anuraghazra/design-patt...

// more info
refactoring.guru/design-patterns/a...