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 notebookWorking notes / 2026
Recently mapped
Architecture, reactivity, and the hidden relationships that shape frontend systems.
Entity Framework
Entity Framework Inheritance
using (SchoolDataEntities1 store = new SchoolDataEntities1())
{
Follow the thread
Unit Test
Convert to Arrange, Action, Assert
I am studying RhinoMocks, the new Arrange/Action/Assert style is more concise than the Record/Replay. Compare the style below
Follow the thread
Software Design
Persistence Ignorance and ORM
The purpose Of Persistence Ignorance is to keep your domain model decoupled from your persistence layer. Nilsson establishes the following characteristics as things you should not have to do in persistence ignorance <h1> Inherit...
Follow the thread
Software Design
Another Notes of DDD
Entity <p> Real word entity is an independent, seperate, or self-contained existence. It's identity is what gives it uniqueness and differentiates it from other thing else. This is typically a set of characteristics or...
Follow the thread
Software Design
Notes for Domain Driven Design Quickly
What is domain driven design? <p> The best way to do it is to make software a reflection of the domain. Software needs to incorporate the core concepts and elements of the domain, and...
Follow the thread