Re: Exception misinformation

From: Date: Thu, 08 Jul 2004 09:57:31 +0000
Subject: Re: Exception misinformation
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31742@lists.php.net to get a copy of this message
Hi, Lukas Smith wrote:
I'll launch you a challenge. Java is a mature language, that has had exceptions since its inception. Go through the Java standard library: http://java.sun.com/j2se/1.4.2/docs/api/ and find usage of return codes for errors. For reference, the equivalent to DB::connect is here: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Driver.html
as Philippe pointed out Java as severe limitations that make it a less than ideal rolemodel for us: namely its a strongly typed language.
What about Python? Or JavaScript, for that matter?

« previous php.pear.dev (#31742) next »