Types catch the bug before you press run — you see it instantly in VS Code
That red squiggle is the lesson. Types catch the bug in the editor, not at runtime.