↓ Skip to main content

“I think you’ll find once it’s compiled down to JavaScript it’s perfectly concise.”

Richard Towersrichard-towers.com ↗

The candidate solves N-Queens entirely in TypeScript’s type system, and the compiled JavaScript is a handful of empty Symbol declarations. The interviewer had banned Haskell for not being concise. TypeScript’s types are a programming language of their own, and nobody on your team signed up to debug it.