best-practices
2 posts tagged with "best-practices"
TypeScript Strict Mode: Stop Using `any` and Start Shipping Safer Code
Every `any` in your codebase is a bug waiting to happen. Here's how to enable strict mode, survive the migration, and use TypeScript the way it was meant to be used.
Error Handling Patterns in Node.js: Stop Swallowing Errors
Empty catch blocks, generic error messages, and silent failures. Here are the patterns I use to handle errors properly in production Node.js applications.