exceptions
1:33:12De-fragmenting C++: Making Exceptions and RTTI More Affordable and Usable - Herb Sutter CppCon 2019
90K views • 7 years ago
CppCon
Herb Sutter's CppCon 2019 talk on the split in the C++ community over exceptions and RTTI. He proposes making exceptions cheaper and more usable, including a zero-overhead, Result-like design.
1:07:35CppCon 2015: Andrei Alexandrescu “Declarative Control Flow"
102K views • 11 years ago
CppCon
Andrei Alexandrescu's CppCon 2015 talk on handling exceptional control flow declaratively in C++. It uses scope guards with success and failure variants, built on std::uncaught_exceptions, to replace ad hoc RAII classes and rethrowing try/catch blocks.
33:32Condition Systems in an Exceptional Language - Chris Houser
16K views • 10 years ago
ClojureTV
Chris Houser's Clojure/conj talk on why Clojure's exceptions destroy information as the stack unwinds, unlike Common Lisp's condition system, which can resume from the error site. He surveys the existing libraries that approximate conditions, explains why they don't compose with each other, and considers what a better design would look like.
27:29Stop Writing Classes
962K views • 14 years ago
Next Day Video
Jack Diederich's PyCon 2012 talk argues that classes are overused in Python and walks through real code, refactoring away unnecessary classes, exceptions and modules. It popularized the heuristic that a class with two methods, one being __init__, should be a function.
5:51Europe Is Actually Five Different Groups of Countries
14.9M views • 13 years ago
CGP Grey
A short CGP Grey explainer on the overlapping and inconsistent membership arrangements of European countries across the EU, Schengen, the euro and the EEA. It shows why "the EU" is full of exceptions.