I wish I had this guy as mi CS professor or as my programming logic instructor. I love the way he teaches the subject matter. I know this stuff already but just don’t articulate it clearly sometimes.
Just a heads up MemberwiseClone will produced a shallow copy of an object. This means that any references(non value types) from one object will also be cloned and point to the same data. Changing a property on a reference will also change on the cloned object. This does not included strings because they are immutable.
I think even Robert Greene did not understand it well , because he can't formulate a clear sentence about what he understood : watch - 12:45 - 13:50 . Otherwise - txs for organizing this course with explanation.
I am knew to programming and probably below content is not at your level of thinking, but I like to see things explained simply and clear so : I would like to see a more practical example of what a Command pattern is , you are too abstract Japikse. Your are creating 2 commands : addNumbers and addText - but provide string values for both of them for "testing" purposes. You should then provide a modification of your example so it test also with numbers. Why smart guys like you can't explain VERY CLEAR those simple things ?