DeepClone1 Prototype Pattern (프로토타입 패턴)이란 Prototype Pattern (프로토타입 패턴)이란 Copy and change rather than creating with new; Creating with new is costly; Copy general properties, and change necessary part; Prototype is a creational design pattern that lets you copy existing objects without making your code dependent on their classes. Problem Say you have an object, and you want to create an exact copy of it. How would you do it? First, you h.. 2021. 5. 19. 이전 1 다음