Redowan's Reflections — Page 15

Recent writing

Longer articles, short notes, and things I'll probably need to look up again.

Browse the archive
String interning in Python

Learn how Python's string interning optimizes memory by caching strings and using sys.intern() for custom string caching to improve performance.

Structural subtyping in Python

Implement Go-style structural subtyping in Python with Protocol for duck typing and interface-based APIs without inheritance dependencies.

Write git commit messages properly

Master Git commit message conventions: imperative mood, 50-character subject, proper capitalization. Build coherent project history with consistent formatting.

Search and navigate

Navigate