Adding Type Hints to my Blog
A developer documents adding static type checking to a Python blog engine using pyrefly, fixing an incorrect type hint.
A developer documents adding static type checking to a Python blog engine using pyrefly, fixing an incorrect type hint.
Announcing sqlite-utils 4.0a1, a Python library and CLI for SQLite, detailing minor backwards incompatible changes before the stable release.
Explains how to correctly type *args and **kwargs in Python to pass type checkers, avoiding common mistakes.
A developer tackles a Python set exercise, fixes a Django template bug, and improves type annotations in a SaaS application.
The author discusses switching to Neovim, an Exercism Python exercise, and adding django-stubs for better type hinting in their SaaS project.
An introduction to Python type hints, explaining their purpose and demonstrating usage with common examples to improve code quality.
An introduction to generics in PHP, explaining what they are, why PHP lacks them, and their potential future in the language.
A programmer questions the inconsistency in using fully qualified class names in doc blocks versus real PHP types, exploring rational thinking in coding habits.