> Type inference removes the need to specify types explicitly over and over. These days with C++11's auto, this is improved a lot. It's not full type inference, but eliminates most of the boilerplate, and arguably what's left you really want to keep for documentation purposes. > The object-oriented representation of a trivial sum type as an inheritance hierarchy of classes is needlessly inefficient. This use case str…
I've been really happy with C++ lambda's lately. Would be nice to see Rust's Option and Result ported over to C++ since I find that error handling extremely elegant compared to most C++ approaches.
They're quite nice, especially with a few trivial additions for ergonomics.