Rust changed me as a developer(blog.startifact.com)
287 points by speckx 13 days ago | 183 comments
tl;dr: After 6+ years with Rust, the author argues the language reshaped how they think about development: sum types (enums) offer a lightweight alternative to OO interfaces, static dispatch via generics clarifies the performance cost of abstraction, and macros enable Python-like declarative "magic" (serde, clap) at compile time. Rust's ownership rules push you toward cleaner architectures and patterns like arenas, and its performance ceiling unlocks designs—like holding massive JSON in memory with indexed access—that wouldn't have been considered in higher-level languages.
HN Discussion:
  • ↑Learning diverse language families broadens thinking and teaches transferable lessons
  • ↑Rust's acknowledgment of human error via forced decision-making is its key strength
  • ↑Sum types are transformative and make other languages feel impoverished
  • •The industry pendulum has swung from C's power-focus to today's safety-focus
  • ↓Rust's enums are flawed by conflating tag and union types, unlike Zig