Design Patterns: Command/Memento

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

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 👍
@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.
@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.
@user-bv6bi2sz8r
@user-bv6bi2sz8r 6 жыл бұрын
excellent lectures, hope you guys do more patterns like bridge, flyweight and so on..
@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.
@boradmay
@boradmay 7 жыл бұрын
great help, thanks
@Ammarbashir15
@Ammarbashir15 6 жыл бұрын
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?
@BharatKumarBellamkonda
@BharatKumarBellamkonda 7 жыл бұрын
Can I have link to this playist.
@Hasi29347
@Hasi29347 3 жыл бұрын
kzbin.info/www/bejne/sIPFeZ96mtShaac&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 ?
@MrPDTaylor
@MrPDTaylor 4 жыл бұрын
Call the fixer. Mafia OOP.
Modern Dev Practices Unit Testing high
1:04:07
Microsoft Visual Studio
Рет қаралды 27 М.
Design Patterns: Decorator
17:21
Microsoft Visual Studio
Рет қаралды 25 М.
How to bring sweets anywhere 😋🍰🍫
00:32
TooTool
Рет қаралды 27 МЛН
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 119 МЛН
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 28 МЛН
Design Patterns: Strategy
13:59
Microsoft Visual Studio
Рет қаралды 37 М.
SOLID Design Patterns
57:18
Microsoft Visual Studio
Рет қаралды 250 М.
Design Patterns: Adapter and Façade
22:29
Microsoft Visual Studio
Рет қаралды 17 М.
Talking Tech and AI with Tim Cook!
16:33
Marques Brownlee
Рет қаралды 188 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 183 М.
Unit Testing: Test Driven and Scenario Based Testing
33:05
Microsoft Visual Studio
Рет қаралды 11 М.
Design Patterns: Factories
25:26
Microsoft Visual Studio
Рет қаралды 54 М.
keren sih #iphone #apple
0:16
Muhammad Arsyad
Рет қаралды 1,1 МЛН
ВСЕ МОИ ТЕЛЕФОНЫ
14:31
DimaViper Live
Рет қаралды 56 М.
КОПИМ НА АЙФОН В ТГК АРСЕНИЙ СЭДГАПП🛒
0:59
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 74 М.