Comment

Comment by PeterWhittaker

This is less a problem with C and more a bad design decision by the musl team. In response to poor practices (programmers not checking what crypt returned), they built an arguably worse one (returning a sentinel value).

Sure, Rust's std::result can make it harder to dumb, but dumb can always find a way.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton