InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #10: Handle assignments properlyPay attention to the assignment operatorJul 7, 2023A response icon1Jul 7, 2023A response icon1
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #9: Avoid virtual methods in constructors and destructorsBecause virtual methods don’t work as you expectJul 5, 2023Jul 5, 2023
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #8: Don’t emit exceptions from a destructorMove the responsibility of error reaction to the clientJul 4, 2023Jul 4, 2023
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #7: Use virtual destructor in base classesIf a C++ class has a virtual method, it should have a virtual destructorJul 2, 2023Jul 2, 2023
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #6: Explicitly Disallow Compiler-Generated FunctionsWhy you should disallow unused functions created by compilersJun 16, 2023A response icon1Jun 16, 2023A response icon1
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #5: Understand Hidden C++ FunctionsWhy it’s crucial to understand functions written by compilersJun 15, 2023Jun 15, 2023
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #4: Initialize itWhy it’s really important to initialize the objects before using themJun 13, 2023A response icon1Jun 13, 2023A response icon1
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #3: Make it constUse const whenever you can: objects, methods and pointersJun 11, 2023A response icon1Jun 11, 2023A response icon1
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #2: Avoid #defineUse const, enum and inline insteadJun 7, 2023Jun 7, 2023
InLevel Up CodingbyFabrizio Di GuardoEffective C++ Tip #1: A Federation of languagesTo make sense of C++, think of it as a merging of more sublanguagesJun 6, 2023Jun 6, 2023