logoalt Hacker News

on_the_traintoday at 3:05 AM0 repliesview on HN

Nothing did more damage to c++ code bases than people not understanding this. People hear "smart pointers are good" and use them for everything. Not understanding that it's just the lesser evil and still extremely rarely needed (vs just stack memory or variants)