▶

Casey Muratori on Smart Pointers, RAII and Group Lifetimes

xDahl · Talk · YouTube title: Casey Muratori | Smart-Pointers, RAII, ZII? Becoming an N+2 programmer
Why it's here

HN commenters in memory management and language design threads cite it as the best explanation of group lifetimes versus per-object ownership.

What it covers

Casey Muratori argues against smart pointers and RAII, advocating grouped-element thinking, zero-is-initialization and stubs as better ways to structure memory and handle errors.