10 articles tagged Fundamentals.
How context windows work, what tokens cost, the lost-in-the-middle effect, and how to fit a real codebase into one.
The TweakPad Team
Which CS fundamentals pay off in application work — complexity, data structures, concurrency, naming — and which do not.
The TweakPad Team
What each join returns, why LEFT JOIN plus WHERE silently becomes INNER JOIN, and how row multiplication inflates totals.
The TweakPad Team
What React does with keys during reconciliation, the concrete bugs index keys cause, and how to pick a key when your data has no id.
The TweakPad Team
useState, useEffect, useRef, useReducer and the rest — what each is for, and the mistakes that cause infinite loops.
The TweakPad Team
How the event loop schedules work, why promises run before setTimeout, and how to stop long tasks freezing your page.
The TweakPad Team
What a closure is, why the classic loop bug happens, and three patterns closures enable: memoisation, private state, currying.
The TweakPad Team
How ?. and ?? work, why ?? is not the same as ||, and the short-circuit behaviour that surprises people. With practical patterns for API data.
The TweakPad Team
Why 0 == "" is true, NaN !== NaN, and when Object.is differs from strict equality — a model, not memorised rules.
The TweakPad Team
Which array methods mutate, which return new arrays, and which to reach for — with performance notes and real examples.
The TweakPad Team