Unofficial Hacker News companion — get notified on comment replies, and more.

In C++, = default and {} are not the same constructor (opens external site)

131 points by surprisetalk 6 days ago | lemire.me | 200 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. C++ feels super natural to me but at the same time it is a miserable fuck due to such odd legacies and ununified features. People literally have spent ages to simply learn those unnecessarily lots of syntaxes rather than solving actual problems. So many compilers and language standards. I do detest those motherfucking Rust fanboys but reasonbly speaking you should choose either C or Rust for low new level projects in 2026.