News for hackers. Stuff that matters.
Re:Parse, Don't Validate and Type-Driven Design in Rust by marcosdumay on Saturday February 21, 2026 @04:05PM (#47104745)
If you check that the value is inside the range, and execute some different code if it's not, then congratulations, you now know at compile time that the number you will read from stdin is in the right range.

There are no comments on this comment yet.