ty: An extremely fast Python type checker and LSP
Introducing ty, a new, extremely fast Python type checker and language server from Astral, promising massive speed improvements over mypy and Pyright.
Introducing ty, a new, extremely fast Python type checker and language server from Astral, promising massive speed improvements over mypy and Pyright.
Explains TypeScript's limitations with Map key checks and Array index access, offering practical solutions and workarounds.
Explains TypeScript's `satisfies` operator, showing how it checks type compatibility without widening inferred types, with examples.
A developer shares their experience with Elixir 1.18's new type checker, highlighting a specific warning about struct comparison and hopes for future improvements.
Explains how to correctly handle null, undefined, and zero values in JavaScript, covering falsy checks and the nullish coalescing operator.
A developer's critique and wishlist for improvements in Go 2.0, focusing on the standard templating engine's limitations and needed features.
Explores the performance benefits of sealed classes in C#, focusing on virtual dispatch and type checking, with benchmark results.
Explains the key differences between TypeScript's `any` and `unknown` types, focusing on type safety and practical usage.
Argues that static analysis can replace runtime type checks in PHP, enabling features like generics without performance cost.
Explains PropTypes for runtime type checking in React and compares it to using TypeScript's static types for better developer experience.
Explains how to add TypeScript type checking to configuration files using JSDoc or Vite's defineConfig helper for better developer experience.
Explains how to use JavaScript's typeof and instanceof operators for type checking, including quirks like typeof null.
Compares Python's type() and isinstance() functions, explaining their differences, performance, and when to use each.
A comprehensive guide to the null value in JavaScript, covering its meaning, detection, differences from undefined, and usage pitfalls.
Explains three methods to check if a variable is an array in JavaScript: Array.isArray(), instanceof, and Object.prototype.toString.call().
An in-depth look at how type system compilers like TypeScript work, focusing on type checks and building a custom compiler.
Practical tips for integrating mypy static type checking into existing Python projects, covering setup, manual type hints, and handling Optional types.
An in-depth look at the NaN (Not a Number) value in JavaScript, covering its nature, how to check for it, and common operations that produce it.
Explains the confusing edge cases and pitfalls of JavaScript's typeof and instanceof operators for type checking, with practical workarounds.
How to use JSDoc comments for TypeScript-like type checking in JavaScript files without a compilation step.