Lobsters
Rusty thoughts on "Parse, don't validate"(eli.thegreenplace.net)
The article discusses the "Parse, don't validate" pattern, originally introduced by Alexis King, and its application to the Rust programming language. The author explores how this pattern can be observed in the Rust standard library and other projects, using the `Vec` type as an example. They note that when working with a `Vec` that is guaranteed to be non-empty, such as when returned by a function that enforces this invariant, it's still necessary to use the `first` method which returns an `Option`, forcing the developer to handle the possibility of an empty vector even when it's known to be non-empty, highlighting the potential for improvement using the "Parse, don't validate" approach.