(root)/Notes/Notes/notes/discover.md RSS

Discover

see invent

resource building on strong foundations instead of making things up, with rust as a case study, by Tristram Oaten aka No Boilerplate --- https://youtu.be/v6RxJsk8otY

when building upon strong foundations, discovery becomes more effective, and invention becomes unnecessary. the abstractions resulting from discovery are deep and flexible whereas those resulting from invention are rigid and brittle

example syntax sugar in programming languages is invented convenience for the discovered

example instead of using nulls for optionals and exceptions for failure cases, rust, thanks to its algebraic data ‹type type system, provides the Maybe and Either monads as library features, in the form of std::option::Option and std::result::Result --- me and https://youtu.be/v6RxJsk8otY