TWiki . Dev . AnonymousExceptionHandling

I was just wondering, when Nice interacts heavily with Java, the resultant code contains too many curly braces which are not nice at all, as exceptions must be handled. Most of the time, however, we know specifically what the exception ought to be. Why not have a perl like syntax for handing those?

BufferedReader? br = new BufferedReader?(new FileReader?(file)) || return false;

-- ImamTashdidUlAlam - 21 Oct 2004

----- Revision r1.1 - 21 Oct 2004 - 12:01 GMT - ImamTashdidUlAlam
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.