Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Effective Modern C++

    Effective Modern C++

    Scott Meyers · 2014

    Presents a collection of tips for programmers on how to use the features of C++11 and C++14 effectively, covering such topics as functions, rvalue references, and lambda expressions.

    Programming
    Open LibraryAmazon
    Stats for nerds
    63recommend
    127mentions
    111people
    2014–2026years
    52% recommend37% neutral11% critical

    Mentions per year

    2014201620182020202220242026

    What Hacker News says

    1. ruszkiMay 2026
      Fail, and try to understand why. Don't be quick with the answer. Sometimes it takes years. But it's crucial to want to improve, and recognize when the answer is in front of you.

      Read why programming languages have the structures what they have. Challenge them. They are full with mistakes. One infamous example is the "final" keyword in Java. Or for example, Python's list comprehension. There are better solutions to these. Be annoyed by them, and search for solutions. Read also about why these mistakes were made. Figure out your own version which doesn't have any of the known mistakes and problems.

      The same with "principles" or rule of thumbs. Read about the reasons, and break them when the reasons cannot be applied.

      And use a ton of programming languages and frameworks. And not just Hello World levels, but really dig deep them for months. Reach their limits, and ask the question, why those limits are there. As you encounter more and more, you will be able to reach those limits quicker and quicker.

      One very good language for this, I think, is TypeScript. Compared to most other languages its type inference is magic. Ask why. The good thing of it is that its documentation contains why other languages cannot do the same. Its inference routinely breaks with edge cases, and they are well documented.

      Also Effective C++ and Effective Modern C++ were my eye openers more than a decade ago for me. I can recommend them for these purposes. They definitely helped me to loose my "junior" flavor. They explain quite well the reasons as far as I remember.

      thread
    2. majoeMay 2024
      I still like the Effective Modern C++ books by Scott Meyers, although they are a few years old already.

      The modern parts of C++ are alright (inelegant and cumbersome, but alright), but because the language has grown over the years and best practices changed, it's difficult to see, which parts are worth learning as a newcomer.

      That's why I like the books, mentioned above. They give concrete Do's and Don'ts, explain some important concepts like move semantics and why and how best practices changed.

      Keep in mind, that these books require some preliminary knowledge, but you should be fine, if you learn the basic stuff from an online tutorial before going through the books.

      thread
    3. devnullbrainFeb 2023
      Modernes C++ & Scott Meyers' 'Effective Modern C++' are excellent.
      thread
    4. throwaway81523Oct 2022
      > Quite good reading to stay up to date how to write proper C++ code instead of classical C with C++ compiler,

      This is good too: https://github.com/isocpp/CppCoreGuidelines

      I also liked Scott Meyer's book "Effective Modern C++".

      thread
    5. detaroSep 2022
      The standard recommendations to come to up speed up to ~C++14 are Scott Meyers books, Effective C++ and Effective Modern C++, but I'm not sure if they work well alone when you've not used C++ in a long time. And don't have a good recommendation for something covering the stuff newer than that.
      thread
    6. 6equj5Aug 2022
      I can second Effective Modern C++: https://www.oreilly.com/library/view/effective-modern-c/9781...

      The most amazing thing about it is how it manages to be so entertaining to read (the last thing I expected from a C++ textbook and a thing that made getting through it way easier)!

      >I'm not sure if there's an even more recent edition that covers C++17 and C++20

      Sadly, there is not. Scott for-the-most-part retired in 2015: https://scottmeyers.blogspot.com/2015/12/good-to-go.html

      thread

    Related

    Cover of Effective C++
    2007–2026

    Effective C++

    Scott Meyers
    112 recommend · 212
    Cover of More Effective C++
    2010–2021

    More Effective C++

    Scott Meyers
    7 recommend · 11
    Cover of A Tour of C++
    2013–2026

    A Tour of C++

    Bjarne Stroustrup
    65 recommend · 150
    Cover of Discovering Modern C++
    2016–2026

    Discovering Modern C++

    Peter Gottschling
    4 recommend · 8
    Cover of Embracing Modern C++ Safely
    2022–2025

    Embracing Modern C++ Safely

    John Lakos
    2 recommend · 5
    Cover of C++ Primer
    2008–2026

    C++ Primer

    Stanley B. Lippman
    53 recommend · 74
    Cover of Beautiful C++
    2022–2025

    Beautiful C++

    John Davidson
    1 recommend · 3
    Large-Scale C++ Volume IIJohn Lakos
    2020–2026

    Large-Scale C++ Volume II

    John Lakos
    1 recommend · 2