hackertubescom
← 视频目录

Casey Muratori | Smart-Pointers, RAII, ZII? Becoming an N+2 programmer

xDahl · 6 则 HN 推荐

视频问答

可以让 AI 解释当前片段,或总结整部视频。如果回答附有时间戳,点击即可跳到对应片段。

试着问:这里讲的是什么意思?

需要用 Google 登录。确认前可查看最多会扣除多少积分。

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.

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

“The best video on this might be from Casey Muratori” 阅读 HN 讨论 ↗