An unofficial, read-only Hacker News reader.

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. That’s true on the face of it, but not knowing all of C++ vs Python is like not knowing all of Russian vs Toki Pona. Yes, it’s possible to study both languages and still miss portions. Getting to 80% fluency on one is vastly harder and more complicated than with the other.
    Replies (1)
    1. I bet most folks using Python have no clue about how close it is to C++ and Common Lisp in terms of capabilities, across its language, standard library, runtime capabilites and C FFI.

      They assume the myth that Python is a programming language for beginners and never do a deep dive into what is available.

      Worse, due to lack of compatibility across releases, it is rather easy to have code break and be blissful unaware of what a specific point release has changed.

      When I learnt Python, the current version was 1.6 and Zope was everywhere, I guess I know a thing or two about its evolution and related complexity.