Notes on software and the ideas behind it

Find the meaning
behind the code.

I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.

Open the notebook

Working notes / 2026

Recently mapped

Architecture, reactivity, and the hidden relationships that shape frontend systems.

WF

WF Programming Model

Workflow is queue and scheduler. public class ReadLine : Activity { private string text; public string Text { get { return text; } }
Follow the thread
WF

When workflow is persisted.

If a persistence service is loaded, the state of the workflow is persisted in the following situations:
Follow the thread
WF

Why ManualWorkflowSchedulerService should be used in asp.net enviroment

Why ManualWorkflowSchedulerService should be used in asp.net enviroment
Follow the thread
Unit Test

What is a fake

A fake is a generic term that can be used to describe either a stub or a mock object (handwritten or otherwise), because they both look like the real object. Whether a fake is...
Follow the thread
Unit Test

What is mock

A mock object is a fake object in the system that decides whether the unit test has passed or failed. It does so by verifying whether the object under test interacted as expected with...
Follow the thread