On 8/27/10 11:29 PDT, Walter Bright wrote:
Walter Bright wrote:
Trass3r wrote:
D doesn't look half bad:
Yeah that comment about Go says it all:
It's rather amazing that given 30 years of evolution and language
design, they've still managed to invent a new language that's as
hard to write error-checking code in as C. Even Java's less verbose!
– DK
And here's the C version. Note the heroic attempt to check for errors,
and yet how most errors are not checked for:
Good point. To paraphrase a well-known quote, it does look like
exceptions are the worst way to go about error handling, except all others.
Andrei