News for hackers. Stuff that matters.
Re:The Elegance of Deflate by lmm on Monday August 22, 2016 @09:46AM (#12336267)
C doesn't work fine without exceptions. You have to write an enormous amount of boilerplate code to propagate error-returns correctly, or else an enormous amount of boilerplate duplication of your error-handling code. Or you use macros to reduce your boilerplate but it's difficult to do that in a way that handles different return types correctly, and once you get to the point of using a different return convention you're basically implementing your own language.

There are no comments on this comment yet.