Branded Types in TypeScript: From Structural to Nominal Typing
How to achieve nominal typing in TypeScript with branded types, preventing subtle runtime bugs by making types explicitly incompatible even when their structures match.
Read more →4 posts tagged “Programming Languages”. All tags
How to achieve nominal typing in TypeScript with branded types, preventing subtle runtime bugs by making types explicitly incompatible even when their structures match.
Read more →
Extend a simple arithmetic language with variables, functions, and conditionals. Learn about environments, closures, and lexical scoping in operational semantics.
Read more →
An introduction to operational semantics for programming languages. Learn small-step and big-step semantics through a simple arithmetic expression language.
Read more →
Learn functional programming through OCaml, from lambda calculus foundations to practical programs. Covers immutability, pattern matching, recursion, and higher-order functions.
Read more →