4 ms·
Why? Why would people want to clone objects? When I have encountered this in the past it is from people who are new to the language. My advise to any person
by austincheney 8y ago
Why? Why would people want to clone objects? When I have encountered this in the past it is from people who are new to the language.
My advise to any person who really believes they need a clone of an object: do some self-reflection on plan as to why you think you need a cloned object. Any other approach is more efficient and more simple in the code.
Objects are hash maps that store data.