ViewTube

ViewTube
Sign inSign upSubscriptions
Filters

Upload date

Type

Duration

Sort by

Features

Reset

16 results

Ajdcode
Command in C# Explained: Build Undo That Actually Works

We type two words and press undo twice; the second undo says there's nothing to undo. We run real code with that bug, see why ...

7:46
Command in C# Explained: Build Undo That Actually Works

3 views

56 min ago

Ajdcode
Strategy in C# Explained: Swap the Rule, Not the Code

A new overnight shipping option went live, and it was free, by accident. We run real code with that bug, see how a default branch ...

6:48
Strategy in C# Explained: Swap the Rule, Not the Code

0 views

7 min ago

Ajdcode
Decorator in C# Explained: Add Caching and Logging Without Touching the Class

The product page may show a saved price; checkout must not. It did. We run real code with that bug, see how caching built into ...

7:37
Decorator in C# Explained: Add Caching and Logging Without Touching the Class

0 views

1h ago

Ajdcode
C# Events: Add a Subscriber Without Editing Order · Observer Pattern

Every new reaction to an order shipping, an email, analytics, loyalty points, means editing the Order class again. We run real code ...

7:20
C# Events: Add a Subscriber Without Editing Order · Observer Pattern

0 views

9 min ago

Ajdcode
Interpreter in C# Explained: Build a Tiny Calculator Language

Our calculator says 2 + 3 * 4 is 20. We run real code with that bug, see why reading left to right can't handle precedence, and fix it ...

8:01
Interpreter in C# Explained: Build a Tiny Calculator Language

0 views

14 min ago

Ajdcode
Visitor in C# Explained: Let the Compiler Find the Case You Forgot

We start selling speakers; tax is right, but shipping comes out free. We run real code with that bug, see why C# can't warn about a ...

7:55
Visitor in C# Explained: Let the Compiler Find the Case You Forgot

0 views

5 min ago

Ajdcode
Chain of Responsibility in C# Explained: Expense Approvals, Step by Step

Company rule: over 20000 goes to the board. A 50000 expense was approved by the director instead. We run real code with that ...

7:21
Chain of Responsibility in C# Explained: Expense Approvals, Step by Step

1 view

56 min ago

Ajdcode
Template Method in C# Explained: One Set of Steps, Many Importers

The CSV import skips a record with a negative age; the JSON import saves it. We run real code with that bug (a simple CSV ...

7:27
Template Method in C# Explained: One Set of Steps, Many Importers

0 views

6 min ago

Ajdcode
State in C# Explained: An Order Workflow Without the Switch Statements

A customer cancels an order that's already on the delivery van, and the system refunds them. We run real code with that bug, see ...

7:35
State in C# Explained: An Order Workflow Without the Switch Statements

0 views

8 min ago

Ajdcode
Proxy in C# Explained: Load Photos Only When Someone Looks

Opening an album of six photos loads all six full-size images, though the user looks at one. We run a small demo where each log ...

6:35
Proxy in C# Explained: Load Photos Only When Someone Looks

1 view

57 min ago

Ajdcode
Mediator in C# Explained: Stop Form Controls Talking to Each Other

A customer switches from delivery to pickup; the address box switches off, but they're still charged for delivery. We run real code ...

6:47
Mediator in C# Explained: Stop Form Controls Talking to Each Other

0 views

11 min ago

Ajdcode
Iterator in C# Explained: IEnumerable, yield return, and a Playlist Bug

Viewing a playlist A to Z quietly changes the order it plays in. We run real code with that bug, see why handing out the List let a ...

7:11
Iterator in C# Explained: IEnumerable, yield return, and a Playlist Bug

0 views

12 min ago

Ajdcode
Flyweight in C# Explained: 2,000 Trees, 3 Textures

A map with 2000 trees holds 2000 texture buffers for just three pictures. We run real code, count the buffers and read the managed ...

7:20
Flyweight in C# Explained: 2,000 Trees, 3 Textures

0 views

58 min ago

Ajdcode
Facade in C# Explained: One Simple Front for a Complicated Checkout

A customer orders a mug on our mobile app; we take their money, then find out it's out of stock. We run real code with that bug, ...

6:59
Facade in C# Explained: One Simple Front for a Complicated Checkout

2 views

59 min ago

Ajdcode
Memento in C# Explained: Save and Restore State Without Breaking Encapsulation

We restore a saved draft; the text goes back, but the cursor is left past the end, and the next key press would crash. We run real ...

7:37
Memento in C# Explained: Save and Restore State Without Breaking Encapsulation

0 views

10 min ago