Design Patterns: Command/Memento

  Рет қаралды 34,303

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

This is the first of an eight part series where Robert is joined by Phil Japikse to discuss design patterns. A design pattern is a best practice you can use in your code to solve a common problem. In this episode, Phil demonstrates the Command and Memento patterns.
Episodes in this series:
- Command/Memento patterns
- Strategy pattern
- Template Method pattern
- Observer/Publish-Subscribe patterns
- Singleton pattern
- Factory patterns
- Adapter/Façade patterns
- Decorator pattern
Resources:
- Sample code: github.com/skimedic/presentat...
- Design Patterns: Elements of Reusable Object-Oriented Software book: www.amazon.com/Design-Pattern...
- Head First Design Patterns book: www.amazon.com/Head-First-Des...

Пікірлер: 14
@draqula004
@draqula004 7 жыл бұрын
I love this series...so important. Please keep them coming
@stevenvolckaert8419
@stevenvolckaert8419 7 жыл бұрын
Great series so far, looking forward to the rest. Keep it up 👍
@user-bv6bi2sz8r
@user-bv6bi2sz8r 6 жыл бұрын
excellent lectures, hope you guys do more patterns like bridge, flyweight and so on..
@Indyy67
@Indyy67 3 жыл бұрын
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.
@boradmay
@boradmay 7 жыл бұрын
great help, thanks
@Sp1derFingers
@Sp1derFingers 5 жыл бұрын
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.
@viteok1234
@viteok1234 6 жыл бұрын
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.
@Ammarbashir15
@Ammarbashir15 7 жыл бұрын
What could be application of saving the history of objects to use later in time?
@seancpp
@seancpp 4 жыл бұрын
Ammar Bashir literally anything that needs to be rebuilt based on state changes. Undo/Redo is not a small or pointless feature
@filippasek6
@filippasek6 4 жыл бұрын
Could someone explain the story with strategy pattern?
@MrPDTaylor
@MrPDTaylor 4 жыл бұрын
Call the fixer. Mafia OOP.
@BharatKumarBellamkonda
@BharatKumarBellamkonda 7 жыл бұрын
Can I have link to this playist.
@Hasi29347
@Hasi29347 3 жыл бұрын
kzfaq.info/get/bejne/sLiSe891ytXSY3k.html&ab_channel=MicrosoftVisualStudio
@viteok1234
@viteok1234 6 жыл бұрын
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 ?
Modern Dev Practices Unit Testing high
1:04:07
Microsoft Visual Studio
Рет қаралды 27 М.
SOLID Design Patterns
57:18
Microsoft Visual Studio
Рет қаралды 250 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,6 МЛН
Observer Pattern - Design Patterns (ep 2)
49:47
Christopher Okhravi
Рет қаралды 557 М.
Design Patterns: Adapter and Façade
22:29
Microsoft Visual Studio
Рет қаралды 17 М.
Dependency Injection
45:17
Microsoft Visual Studio
Рет қаралды 146 М.
Command & Memento Patterns in Typescript (No BS TS Series 2 Episode 4)
26:26
Decorator Pattern - Design Patterns (ep 3)
54:35
Christopher Okhravi
Рет қаралды 477 М.
Git Fundamentals
1:10:25
Microsoft Visual Studio
Рет қаралды 148 М.
Template Method Pattern - Design Patterns (ep 13)
50:42
Christopher Okhravi
Рет қаралды 94 М.
Design Patterns: Template Method
14:07
Microsoft Visual Studio
Рет қаралды 15 М.
Crust of Rust: async/await
2:34:01
Jon Gjengset
Рет қаралды 184 М.
Design Patterns in Plain English | Mosh Hamedani
1:20:01
Programming with Mosh
Рет қаралды 1,3 МЛН
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 23 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 3,1 МЛН
Mastering Picture Editing: Zoom Tools Tutorial
0:52
Photoo Edit
Рет қаралды 507 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 3,1 МЛН