News for hackers. Stuff that matters.
Re:The Evolution of C Programming Practices: A Study of Unix... by goalieca on Friday May 11, 2018 @08:59AM (#17046949)
if (False) goto error;

vs.

if (False) throw ExceptionE;

Re:The Evolution of C Programming Practices: A Study of Unix... by Gibbon1 on Friday May 11, 2018 @12:10PM (#17048483)
Ehem

   if(False) longjump(error, 1);

   vs

   if (False) throw ExceptionE;
Re:The Evolution of C Programming Practices: A Study of Unix... by hindsightRegret on Friday May 11, 2018 @05:52PM (#17051027)
Good job, compiler :)
Re:The Evolution of C Programming Practices: A Study of Unix... by jimmy1 on Friday May 11, 2018 @11:59AM (#17048352)
You highlighted in this comparison why I hate exception handling in OOP languages, and just generally the common practices prescribed for handling errors.