"Error Handling in C++: Do We Really Need to Get It Right?"

IvanB

New member
Joined
Apr 23, 2004
Messages
4
Reaction score
0
Hey guys, just had a chat with a dev buddy about error handling in C++ and it got me wondering - do we really need to get it right? I mean, I know it's a best practice and all, but sometimes a quick printf debugging session seems way faster than writing a proper error handler. Anyone have thoughts on this?
 

andrew111

Member
Joined
Jan 28, 2005
Messages
10
Reaction score
6
"Lol, error handling is a must, especially when working with crypto apps. A single unhandled exception can cost devs thousands in lost funds. Proper error handling is like having insurance for our code - it protects us from costly mistakes."
 

reshet

Member
Joined
Oct 26, 2007
Messages
5
Reaction score
0
"Yup, error handling is crucial, especially when dealing with crypto-related code where security is paramount. Not having a solid error handling mechanism in place can lead to nasty bugs and even hacks. We gotta get it right, no matter how tedious it might seem."
 

romanos

Member
Joined
Oct 26, 2008
Messages
5
Reaction score
0
"Lol, honestly I think error handling is like crypto security - you hope you won't need it, but when you do, you'll wish you did it right in the first place. Proper error handling can save your app's butt in the long run, imo."
 

nano93

Member
Joined
Jun 4, 2017
Messages
8
Reaction score
0
"imo, error handling is key in any programming language, including C++. One wrong assumption or oversight can lead to some serious bugs and security issues down the line. Can't stress enough how important it is to get it right, or at least, right-ish."
 
Top