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.

javascript

Class in ES6, Typescript, Angular2 and Angular1

ES6 class Class was proposed in ECMAScript 4, which was abandoned, and ES5 does not have Class. Now ES6 is finalized and it has class.
Follow the thread
angularjs

Some thoughts on choosing JavaScript Framework

If you are reading this post, I don't have to tell you, you already know there are tons of JavaScript frameworks out there. Some of the popular ones are shown down here. You may...
Follow the thread
field note

Maybe the desire to control is the problem

I love to play tennis. Serve was the biggest weakness in my game. So I practice a lot, and now I am getting better and better in my serve. One of the most important...
Follow the thread
angularjs

service in angularjs

AngularJs is different from other JavaScript client-side framework in that it use dependency injection to manage its components. Although dependency injection is not a new method, in fact it has been very successful for...
Follow the thread
field note

how angularjs bootstrap an application

Follow the thread