We start writing a test suite for our database library to keep ourselves honest, then use it to fix our SQL injection vulnerability. Tests open up easier refactoring, so we make the first of a few API improvements for usability.

Execute Program

Looking for something more interactive? Try Execute Program, an interactive learning platform from Destroy All Software LLC! It has courses on TypeScript, SQL, regular expressions, JavaScript concurrency, and more. All Destroy All Software subscriptions include full access to Execute Program, or you can subscribe to Execute Program directly.