Re: type hinting
| From: | Sam Barrow | Date: | Mon, 07 Jan 2008 04:14:56 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34574@lists.php.net to get a copy of this message | ||
On Sun, 2008-01-06 at 23:15 +0100, Stefan Priebsch wrote:
> Pierre schrieb:
> > I don't see the point to make a application working when you pass to
> > it the wrong data, it is a bad usage. That was the moto for the
>
> So how are you going to deal with the "bad usage" then? Isn't the
> problem that this "bad usage" is discovered at runtime, vs at compile
> time like in Java? If you don't deal with these errors, you effectively
> "crash" your application.
Well these errors can be handled like any other, as long as they don't
issue a fatal.
> Regards,
>
> Stefan
>
>
> --
> >e-novative> - We make IT work for you.
>
> e-novative GmbH - HR: Amtsgericht München HRB 139407
> Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch
>
> http://www.e-novative.de - GnuPG Key: 0x7DB67F7F
>