TypeScript vs JavaScript: When Types Earn Their Keep
Types cost keystrokes and buy confidence. A practical guide to when that trade pays off — and when plain JS wins.

Fresh from the editor
JAVASCRIPTThe Modern JavaScript Actually Worth Knowing
Past the framework churn — the language features that changed how we all write JS.
FRAMEWORKSWhich Front-End Framework, and Why
React, Vue, Svelte, Solid — a decision guide by what you're actually building, not by hype.
BACK-ENDNode Isn't Going Anywhere
New runtimes are exciting, but Node's boring reliability is exactly the point.
TOOLINGBundlers in Plain English
Vite, esbuild, and what a bundler actually does to your code before it ships.
LEARNINGA Web-Dev Learning Path for 2026
What to learn, in what order, without drowning in the framework of the week.
BACK-ENDGraphQL vs REST: The Honest Comparison
Neither wins outright. What each is genuinely good at, and how to choose.
Which one when
Huge ecosystem, hiring, and battle-tested patterns.
Less code, no virtual DOM, delightful for smaller apps.
Which one whenTeam & ecosystem → React. Bundle size & joy → Svelte.
Simple, cacheable, everyone knows it.
One request, exactly the data you asked for.
Which one whenPublic/simple API → REST. Complex, client-driven data → GraphQL.
Boring, stable, runs everything.
Fast startup, batteries included, modern defaults.
Which one whenProduction today → Node. Greenfield speed → Bun.
Zero setup, fast to prototype.
Types catch bugs before they run; scales with the team.
Which one whenTiny script → JS. Anything that grows → TS.
Snippets that actually compile
Every code block on MochiKit is real, correct TypeScript or JavaScript — syntax-highlighted, runnable-looking, and pulled straight from the article it illustrates. No pseudo-code, no gibberish.
function greet(user: User): string {
return `Hello, ${user.profile.displayName}`;
}
// The compiler knows the shape — a typo here
// never survives the build.
const msg = greet(currentUser);Standing on the shoulders of MochiKit
MochiKit was a well-loved JavaScript library from the mid-2000s — 'MochiKit makes JavaScript suck less' was the tagline — that helped a generation write friendlier front-end code. This blog carries the name forward as a tribute; it isn't the original library or its documentation, just a place that shares its love of good JavaScript.
Build partners
Browse by corner of the stack
JavaScript
The language itself — JS, TypeScript, and the features worth knowing.
FRAMEWORKSFrameworks
React, Vue, Svelte and friends — which one when, and why.
BACK-ENDBack-End
Node, runtimes, APIs and the server side of the stack.
TOOLINGTooling
Bundlers, linters, type-checkers — the build that ships your code.
LEARNINGLearning
Getting good — paths, fundamentals, and advice for every level.
Tools and teams we learn from.
Filthy Family proves that shared environments breed the most unexpected — and steamy — merge conflicts.
Transsensual is the story-driven framework your browser deserves — elegant, immersive, beautifully rendered.
Asshole Fever ships fresh European builds with intense back-end performance that'll make devs blush.
Fun Size Boys understands that size mismatches make the most memorable pair() calls in the codebase.







