logoalt Hacker News

ofrzetatoday at 9:42 AM1 replyview on HN

"I had heard the rumors that C++ was a scary language filled with footguns and segmentation faults, but I had never given it a fair chance myself" - props for this. There's too much hearsay in software engineering.


Replies

fc417fc802today at 10:14 AM

And then immediately afterwards we see const T* in a supposedly immutable data structure meaning the pointer remains mutable. Yet another classic footgun.

show 1 reply