out/inout/lazy at call site

Bruno Medeiros brunodomedeiros+spam at com.gmail
Sat Jan 6 03:45:03 PST 2007


Daniel Keep wrote:
> 
> Kinda like how you have to handle exceptions in Java: great idea in 
> theory, but a complete pain in the arse in reality.  I must have spent 
> about a third of my coding time in Java just writing the damn exception 
> handlers; it eventually got to the point where I just used empty, 
> catch(Exception)s to bypass the whole thing, just so I could get actual 
> work done.
> 
> I'm not really sure if this falls into that category, but it's something 
> to think about.  The question, I suppose, is whether the benefits 
> outweigh the drawbacks.
> 
>     -- Daniel

You might consider using this workaround: 
http://www.mindview.net/Etc/Discussions/CheckedExceptions for checked 
exceptions, it is a little bit nicer.

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list