How not to learn TypeScript
Common mistakes to avoid when learning TypeScript, especially for developers with JavaScript or other language backgrounds.
Common mistakes to avoid when learning TypeScript, especially for developers with JavaScript or other language backgrounds.
Explores strategies for handling Kafka message delivery failures in applications, discussing trade-offs between consistency and availability.
Explores strategies for handling Kafka producer failures, focusing on trade-offs between consistency and availability in messaging systems.
Explains how to properly handle and type error messages in TypeScript catch blocks, which default to the 'unknown' type.
A guide to implementing robust error handling in React Query applications, covering standard patterns and best practices for failed data fetches.
A guide on using Rust enums to wrap and handle multiple error types, avoiding dynamic dispatch for more compile-time safety.
An in-depth guide to error handling in Rust, focusing on the Result<T, E> enum and best practices for managing operations that can fail.
Explores the technical differences between 'return await promise' and 'return promise' in JavaScript async functions, focusing on error handling.
Explains the technical difference between using two callbacks in .then() versus chaining .then() with .catch() for error handling in JavaScript Promises.
Explains JavaScript Promises, why they simplify asynchronous coding, and how to use them with async/await.
Explains the use of named return values in Go functions, including their pros, cons, and a practical example with defer and recover.
Critique of the common but misleading UX pattern of showing '0 results' during data loading, with examples and a proposed technical solution.
A tutorial on using JavaScript's onerror event to display a default image when an image fails to load on a webpage.
A guide to fixing the common React error 'Cannot read property of undefined', covering how to read stack traces and properly initialize state.
Explains why TypeScript restricts catch clause variable types and demonstrates the correct way to narrow error types using checks.
Explains the evolution from callbacks to Promises and async/await in NodeJS for cleaner asynchronous code.
A quick Node.js tutorial showing how to create a folder only if it doesn't exist, using just 3 lines of code with no external dependencies.
A guide on adding TypeScript types to the fetch API, using a GraphQL Pokemon API example from EpicReact.dev workshops.
Learn how to create a custom 404 error page in Next.js by adding a 404.js file to your pages directory for custom branding and styling.
Compares the 'Ask for Forgiveness' (EAFP) and 'Look Before You Leap' (LBYL) coding philosophies, using Python file reading as an example.