Re: type hinting
| From: | Markus Fischer | Date: | Fri, 04 Jan 2008 21:03:17 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34493@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Robert Cummings wrote:
| On Fri, 2008-01-04 at 11:52 -0800, Stanislav Malyshev wrote:
|>> Good point. We were fine before OO and exceptions too weren't we.
|> No, actually we weren't as fine. OO allowed for application frameworks
|> and libraries to flourish.
|
| Now that we have them, we can help them become more robust by allowing
| them to decide how their APIs should be used.
This is very I see the strongest case for type hints. Framework,
Libraries, Components, WhatEverYouCallThem. Especially for remote APIs
type hints can help a lot, I think.
- - Markus
ps: Do the 24 hours already count?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHfp8V1nS0RcInK9ARAgqYAKCt9xGZDCuubTJCVr8iluvHalJ45gCguiVu
AZzNl6ek9tDZcbK4jnHMr2A=
=8I6u
-----END PGP SIGNATURE-----