This video is an interview with author and C++ expert Frances about her upcoming keynote at the Meeting C++ conference. The conversation explores the multifaceted topics of learning and teaching C++, the current landscape of educational resources, and the impact of modern technology on developers.
Frances previews her keynote, which will cover the psychology of learning, overcoming mental blocks, practical tips for teaching, and a philosophical look at the role of AI and LLMs in programming education. She discusses her new introductory C++ book, which uses a continuous project—a small trading game—to provide context for core concepts. This is contrasted with her previous book, which was aimed at experienced developers modernizing their skills. The discussion also touches upon the challenges of the C++ ecosystem, including the slow industry adoption of new standards and a perceived gap in resources for programmers transitioning from C. A significant portion of the interview is dedicated to a critical analysis of AI coding assistants, with Frances expressing skepticism about their reliability and advocating for improved deterministic tools and the irreplaceable value of human interaction and expertise. Finally, the conversation broadens to the current state of the C++ job market and conference scene, noting budget cuts and a shift in how companies approach training and professional development.
Learning and Teaching Modern C++: A Conversation with Frances
00:00:17 Introduction to Frances: Frances introduces herself, detailing her background in embedded systems and finance and her current focus on writing her second book about learning C++.
00:02:29 Keynote Preview: Her upcoming keynote will take a broad view on learning and teaching. It will cover how people learn, overcoming past negative experiences, practical tips for developers who mentor or teach, the value of conferences, and a critical look at learning from AI/LLMs.
00:05:53 The State of C++ Learning Resources: Frances discusses the mixed quality of available resources. While classic books like "Accelerated C++" are still valuable, they are outdated. Online resources can be overwhelmingly comprehensive, and she advocates for learning by building small, complete projects.
00:10:33 Details on Her New Book: Aimed at C++ beginners (with some prior programming experience), her new O'Reilly book builds a small "pretend trading game" throughout its ~15 chapters. This project-based approach provides context for teaching concepts like I/O, error handling (std::expected), OOP, smart pointers, and std::variant.
00:15:17 New Book vs. Old Book: She clarifies that her previous book, "Learn C++ by Example," was for experienced developers relearning modern C++, while the new one is for true C++ beginners.
00:16:16 A Market Gap for C-to-C++ Transition: An audience question sparks a discussion about the lack of books specifically for migrating from C to C++. They conclude it's likely a niche market that publishers consider too small.
00:28:21 Skeptical View on AI Tooling: Frances shares her cautious perspective on AI code assistants like Copilot. She criticizes their tendency to "hallucinate" incorrect code and argues that developers are better served by improving deterministic tools (like IDE wizards) and focusing on fundamental understanding, sometimes even by using simpler tools like Vim to think more clearly.
00:33:40 Do LLMs "Know" Anything?: The discussion delves into the nature of AI, concluding that Large Language Models (LLMs) are probabilistic systems that predict the next most likely word rather than possessing true knowledge or understanding. A key flaw is their inability to admit when they don't know something.
00:43:30 The Job Market for C++ Teachers & Trainers: They speculate that the current economic climate and a misplaced reliance on AI are causing companies to cut training budgets, creating a challenging market for independent C++ trainers.
00:45:23 Current C++ Industry Trends: The conversation concludes by noting that the C++ job market is currently saturated with candidates, a significant shift from previous years. Conferences are also adapting to budget cuts, with some merging (ACCU and CppOnSea) and companies opting for more affordable online tickets over on-site attendance.