C++ Best Practices for Developers

  • 4.9
  • 0 Enerolled
    • Introduction
      • Write better C++ code 0 min
      • What you should know 0 min
    • 1. What Is Modern C++?
      • New C++ features 0 min
      • Old code compatibility 0 min
      • File naming conventions 0 min
    • 2. Tools That Improve Your Code
      • Turning on modern C++ 0 min
      • Let the compiler help 0 min
      • Static analyzers 0 min
      • Cppcheck 0 min
      • Challenge: Finding issues with Cppcheck 0 min
      • Solution: Finding issues with Cppcheck 0 min
    • 3. Using the New Features Correctly
      • Auto type deduction and initialization 0 min
      • Range-based for loops 0 min
      • Strongly typed enums 0 min
      • Using lambdas 0 min
      • The magic of variadic template functions 0 min
      • Challenge: Writing an integer sum method 0 min
      • Solution: Writing an integer sum method 0 min
    • 4. Don't Reinvent the Wheel
      • How C++ and the STL name things 0 min
      • Map, filter, and reduce 0 min
      • Be careful with string_view 0 min
      • size_t and auto 0 min
      • The filesystem library 0 min
      • Challenge: Writing strings to a file 0 min
      • Solution: Writing strings to a file 0 min
    • 5. Managing Objects
      • Which pointer when? 0 min
      • The rules of zero and three 0 min
      • const is your friend 0 min
      • Resource Acquisition Is Initialization (RAII) 0 min
      • Challenge: RAII 0 min
      • Solution: RAII 0 min
    • Conclusion
      • Next steps 0 min
  • Description

    There have been several updates to C++ over the years. In this course, learn best practices that can help you produce higher-quality C++ code by leveraging tools and new features. To begin, instructor Troy Miles provides a high-level overview of the major features introduced in the 2011, 2014, and 2017 updates to the C++ language. Next, he goes over a few tools that can help you improve your code, including how to boost your code's quality and reliability using static analyzers. Troy also shares practical tips for using the new C++ features correctly, as well as rules and techniques for managing objects.

Trailer video

Build Responsive Websites

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This Course Incluce

1 Hours video
Certificate
32 Lectures
Lifetime access