
Design Patterns Part 1 – You Create Me!
Coding Blocks
00:00
Is This Really a Good Idea?
Microsoft actually has a method built in called clone that will do just that. The problem, of course, with object is that you have to cast it and you're losing that compile time type safety. I like to think maybe if Microsoft was doing that now, they would do something with generics, they could kind of enforce that. So maybe it's not a good idea.
Transcript
Play full episode