Design Pattern Riddle #2
1 min read

q. If you find yourself needing more functionality, And your needs are dynamic and versatile, Then I’m a good alternative to subclassing. You will find that using me quite worthwhile.

a. Decorator

~/riddle by me

Edit post on GitHub


Design Pattern Riddle #3
Design Pattern Riddle #1