Tag
A developer reflects on how six years of using Rust — particularly sum types, enums, and pattern matching — reshaped their thinking and raised their standards for programming languages.
The author shares a Rust programming technique to improve type safety by creating individual types for each variant of an enum, specifically for path components, based on std::path::Component.