Unofficial Hacker News client - receive Push Notifications on replies.

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

131 points by surprisetalk 5 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. And that's exactly what's so scary in C++. As a Java developer I had to create an .so once, and I was striving towards C++ but my colleague gave me "21st century C". I delivered the solution in 2 months to production, and it was stable. It had some minor issues, like a lot of char field1[len()+1] (a GCC extension allowing to automatically allocate and deallocate from heap), but if I wrote it in C++ i wouldn't make it. Too high entry level and also these...