News for hackers. Stuff that matters.
Re:The Next Mainstream Programming Language: A Game Develope... by Zak on Tuesday December 28, 2010 @07:23AM (#2045282)
Checked exceptions, at least the way Java does them are exceedingly verbose, potentially requiring a try/catch block at every level of a call stack. I think it would be possible do static analysis of most possible execution paths and determine whether there's a possible exception not being caught by a certain level without having to deal with it in every call.
Re:The Next Mainstream Programming Language: A Game Develope... by lemming on Tuesday December 28, 2010 @08:26AM (#2045386)
This is relatively trivial, but only for whole-program compilation. The good thing about declaring exceptions on functions is that you can partially compile programs without a module system - otherwise, at a minimum you have to declare them at module boundaries.