TypeScript Types Deep Dive: Primitives, Literals, and Escape Hatches
A complete guide to TypeScript's 7 primitive types, literal types, type inference, and the special types any, unknown, and never — with interactive explorers and quizzes.
Documentation of digital experiments, engineering rants, and the pursuit of a perfectly optimized brutalist web.
A complete guide to TypeScript's 7 primitive types, literal types, type inference, and the special types any, unknown, and never — with interactive explorers and quizzes.
Discover exactly how TypeScript transforms into JavaScript through 4 compilation steps. Interactive animations, live demos, and visual guides for Node.js and browser execution.
Why we need TypeScript and its core benefits over vanilla JavaScript. Includes interactive demos!
Learn how Go structs work — defining custom types, creating instances, passing by value vs pointer, adding methods, constructor functions, struct tags for JSON, anonymous structs, and struct embedding.
Explore what data means in AI — structured vs unstructured data, how to collect and label it, train/test/validation splits, data augmentation, feature engineering, data quality vs quantity, and common mistakes to avoid.
Learn how large language models like ChatGPT work — transformers, self-attention, tokenization, context windows, temperature sampling, hallucination, RLHF fine-tuning, and what this means for developers building with AI.
Master the Node.js fs module — async and sync methods for reading, writing, renaming, deleting, watching files, checking metadata with fs.stat, streaming large files, and using fs/promises with async/await.
Learn the difference between app.use and app.all in Express.js — middleware vs route handling, partial vs exact path matching, error-handling middleware, router.use, and real auth middleware examples.
Understand how Node.js handles concurrency — single-threaded JavaScript execution, the event loop, libuv thread pool, worker threads for CPU tasks, the cluster module, and when to use each approach.