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 討論 ↗