0

Need help in understanding the prototype design pattern

Saurabh Jha 6 miesięcy temu 0
What does the following statement means in prototype design pattern:

"When your objects have dozens of fields and hundreds of possible configurations, cloning them might serve as an alternative to subclassing."