An unofficial, read-only Hacker News reader. Join the beta →

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

129 points by surprisetalk 3 days ago | lemire.me | 198 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. It’s a weird language

    On your initial look, it looks like a total nightmare.

    The more you learn and use it, you learn that it is even worse than you ever imagined

    So you try something else and find yourself in a constant loop of “if this were c++ i could just go xyz, by nooo”

    So then you love it

    Replies (1)
    1. This roughly sums up my feelings. C++ is horrendous, but it's also the best tool I have.