->
Oreilly - Learning C++ Best Practices - 9781491954898
Oreilly - Learning C++ Best Practices
by Jason Turner | Released March 2016 | ISBN: 9781491954898


In this Learning C++ Best Practices training course, expert author Jason Turner will teach you how to write code that is more maintainable, simpler, and faster. This course is designed for users that already have a basic working knowledge of C++.You will start by learning about expressions and statements, such as variable scopes and initialization. From there, Jason will teach you about resource management, including using raw pointers, managing resources automatically using resources handles and RAII, and using standard containers when interacting with C APIs. Finally, this video tutorial will leave you with a refresher on expressions and statements and resource management, as well as next steps.Once you have completed this computer based training course, you will have learned how to write simpler, faster, and more maintainable code. Working files are included, allowing you to follow along with the author throughout the lessons. Show and hide more Publisher resources Download Example Code
  1. Introduction
    • Introduction 00:04:11
    • About The Author 00:02:04
    • Overview Of C++ Best Practices Online Book 00:01:52
    • Use The Correct Types And Const As Much As Possible 00:03:07
    • Use The Tools Available 00:06:55
    • A Note About Optimization 00:05:32
    • What Are The C++ Core Guidelines 00:02:15
  2. Expressions And Statements
    • Don't Define A (C-Style) Variadic Function 00:05:57
    • Prefer A Range-Based For Loop When Possible 00:05:36
    • Know The Standard Library 00:04:20
    • Don't Depend On Order Of Evaluation Of Function Arguments 00:04:27
    • Avoid Casting 00:05:24
    • Exercise 1 - Chapter 2: Simplify 00:05:19
    • Exercise 2 - Chapter 2: Use Standard Algorithms 00:04:32
  3. Expressions And Statements - 2
    • Variable Scopes And Initialization 00:05:28
    • Properly Initialize Member Variables 00:04:39
    • Use Lambdas For Complex Initialization, Especially Of Const Variables 00:05:09
    • Exercise 1 - Chapter 3: Clean Up Object Initialization 00:05:29
    • Exercise 2 - Chapter 3: Expressions And Statements - Putting It All Together 00:11:17
  4. Resource Management
    • In Interfaces, Use Raw Pointers To Denote Single Objects Only 00:04:24
    • Manage Resources Automatically Using Resources Handles And RAII 00:05:07
    • Avoid Defining Any Default Operations, Or Define Them All 00:04:27
    • Prefer Stack Objects 00:05:30
    • Exercise 1 - Chapter 4: Fix Pointer Interface 00:03:06
    • Exercise 2 - Chapter 4: Implement Scoped Cleanup Object 00:03:50
    • Exercise 3 - Chapter 4: Consider The Rule Of 0 00:04:33
  5. Resource Management - 2
    • Don't Use Malloc And Free 00:02:54
    • Avoid New And Delete 00:04:46
    • Use unique_ptr Or shared_ptr Correctly 00:05:22
    • Use std::weak_ptr To Break Cycles 00:03:35
    • Exercise 1 - Chapter 5: Fix The Memory Error 1 00:04:36
    • Exercise 2 - Chapter 5: Fix The Memory Error 2 00:05:29
  6. Resource Management - 3
    • Don't Pass Smart Pointers Unless You Need To Convey Ownership 00:04:00
    • Avoid Copying Of shared_ptr 00:03:03
    • Do Not Pass A Pointer Or A Reference Obtained From An Aliased Smart Pointer 00:03:27
    • Use Standard Containers When Interacting With C APIs 00:04:34
    • Exercise 1 - Chapter 6: Fix shared_ptr Usage 00:04:16
  7. Conclusion
    • Expressions And Statements Refresher 00:02:49
    • Resource Management Refresher 00:03:15
    • Exercise 1 - Chapter 7: Refactor 00:07:03
    • Exercise 1 - Chapter 7: Refactor - Solution 00:04:14
    • Next Steps - Guideline Support Library 00:02:44
    • Next Steps - Contributing Back 00:02:52
    • Wrap Up And Thank You 00:01:10
  8. Show and hide more

    Oreilly - Learning C++ Best Practices


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss