Rusty thoughts on "Parse, don't validate"
- Like many programmers, I find Alexis King's Parse, don't validate article fascinating, because it gives a name to an idiom that seems familiar and important - one I've observed and used in the past without naming it explicitly.
- This post is a review of the "Parse, don't validate" pattern applied to the Rust programming language (the original post uses Haskell).
- I was particularly interested in finding educational examples of this pattern in the Rust standard library and other well-known projects.
Unverified
- Like many programmers, I find Alexis King's Parse, don't validate article fascinating, because it gives a name to an idiom that seems familiar and important - one I've observed and used in the past without naming it explicitly.
- This post is a review of the "Parse, don't validate" pattern applied to the Rust programming language (the original post uses Haskell).
- I was particularly interested in finding educational examples of this pattern in the Rust standard library and other well-known projects.
Sources: Thegreenplace