Falling Into The Pit of Success
Eric Lippert notes the perils of programming in C++: I often think of C++ as my own personal Pit of Despair Programming Language. Unmanaged C++ makes it so easy to fall into traps. Think buffer overruns, memory leaks, double frees, mismatch between allocator and deallocator, using freed memory, umpteen dozen
Eric Lippert notes the perils of programming in C++ : I often think of C++ as my own personal Pit of Despair Programming Language. Unmanaged C++ makes it so easy to fall into traps. Think buffer overruns, memory leaks, double frees, mismatch between allocator and deallocator, using freed memory, umpteen dozen ways to trash the stack or heap – and those are just some of the memory issues . There are lots more “gotchas” in C++. C++ often throws you into the Pit of Despair and you have to climb your way up the Hill of Quality. (Not to be confused with scaling the Cliffs of Insanity. That’s differ
related reading
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- Learn C++ – Skill up with our free tutorialslearncpp.com
- The worst programming language of all timeyoutube.com
- Untangling Lifetimes: The Arena Allocator - by Ryan Fleurydgtlgrove.com
- Things unlearnedscattered-thoughts.net
- Top 10 dumb mistakes to avoid with C++ 11 smart pointers - A CODERS JOURNEYacodersjourney.com
- What Every C Programmer Should Know About Undefined Behavior #2/3 - The LLVM Project Blogblog.llvm.org
- Destroy All Values: Designing Deinitialization in Programming Languages - Faultloregankra.github.io
- Out of the Tar Pitcurtclifton.net
- Google C++ Style Guidegoogle.github.io
- The Curse of Knowing How, or; Fixing Everything | Blognotashelf.dev
- Mistakes engineers make in large established codebasesseangoedecke.com