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.

thoughts

Semantics works?

A developer is a creativity entity. There are so many software technologies emerging everyday, many of us are struggling to keep pace with the them. I am just an average developer, and I still...
Follow the thread
jquery

Best practice to develop jQuery plugin

Create a private scope for $ Attach plugin to $.fn alias Add implicit iteration Enable chaining Add default options Add custom options global custom options <div id="counter1"> </div> <div id="counter2"> </div> <script> (function($) {...
Follow the thread
jquery

javascript reflection in jQuery

String: typeof object === "string" Number: typeof object === "number" Boolean: typeof object === "boolean" Object: typeof object === "object" Function: jQuery.isFunction(object) Array: jQuery.isArray(object) Element: object.nodeType null: object === null undefined: typeof variable ===...
Follow the thread
javascript

it must be "new"ed.

The following is constructor which prevent not using "new" keyword
Follow the thread
javascript

javascript scope

In JavaScript, {blocks} do not have scope.
Follow the thread