User: Password:
|
|
Subscribe / Log in / New account

w00t for exception-throwing languages

w00t for exception-throwing languages

Posted Jul 8, 2008 17:56 UTC (Tue) by leoc (subscriber, #39773)
In reply to: w00t for exception-throwing languages by walles
Parent article: TASK_KILLABLE

Some languages throw exceptions when bad stuff (like an interrupted file write) happens.

Yes, but bad programmers use those languages too, and seem to actively enjoy doing things like wrapping large amounts of logic with empty or otherwise useless exception handlers.


(Log in to post comments)

w00t for exception-throwing languages

Posted Jul 10, 2008 11:02 UTC (Thu) by renox (subscriber, #23785) [Link]

That's *very* different: catching all possible case is difficult for C programmers so it's
difficult also for code review to find those missing case.

It's much more easy to catch those guilty of wrapping their code with empy catch{} and sending
them to do other things than programming.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds