Re: [PHP-DEV] Type hinting

2010-05-29 Thread Ferenc Kovacs
On Sat, May 29, 2010 at 7:34 PM, Zeev Suraski wrote: > At 20:28 29/05/2010, Chris Stockton wrote: > > My biggest issue as a user is the fatal errors. Why are we blowing up on >> something that should throw some kind of useful argument exception? I end up >> in my applications using instanceof ev

Re: [PHP-DEV] Type hinting

2010-05-29 Thread Zeev Suraski
At 20:34 29/05/2010, Zeev Suraski wrote: At 20:28 29/05/2010, Chris Stockton wrote: My biggest issue as a user is the fatal errors. Why are we blowing up on something that should throw some kind of useful argument exception? I end up in my applications using instanceof everywhere because thei

Re: [PHP-DEV] Type hinting

2010-05-29 Thread Zeev Suraski
At 20:28 29/05/2010, Chris Stockton wrote: My biggest issue as a user is the fatal errors. Why are we blowing up on something that should throw some kind of useful argument exception? I end up in my applications using instanceof everywhere because their is important cleanup to be done before t

Re: [PHP-DEV] Type hinting

2010-05-29 Thread Chris Stockton
My biggest issue as a user is the fatal errors. Why are we blowing up on something that should throw some kind of useful argument exception? I end up in my applications using instanceof everywhere because their is important cleanup to be done before the end of the request. For example I can't affor

Re: [PHP-DEV] Type hinting

2010-05-29 Thread Zeev Suraski
At 11:33 29/05/2010, Sebastian Bergmann wrote: The "optional scalar type hinting" [snip] Sebastian, I understand why proponents of strict typing are putting 'optional' next to it to suggest that people don't have to use it, ergo those who don't intend to use it shouldn't care. As numerous

Re: [PHP-DEV] ChangeLog

2010-05-29 Thread Johannes Schlüter
Hey, On Fri, 2010-05-28 at 23:50 +0200, Pierre Joye wrote: > I'd to add that unless we add everything in the NEWS file, the > ChangeLog remains the only way to have a list of all changes (without > doing manually). Having the file is absolutely fine with me, while I can fulfill my needs with svn

Re: [PHP-DEV] ChangeLog

2010-05-29 Thread Pierre Joye
2010/5/29 Johannes Schlüter : > Hey, > > On Fri, 2010-05-28 at 23:50 +0200, Pierre Joye wrote: >> I'd to add that unless we add everything in the NEWS file, the >> ChangeLog remains the only way to have a list of all changes (without >> doing manually). > > Having the file is absolutely fine with m

Re: [PHP-DEV] Re: Commit messages and ChangeLog (Re: [PHP-DEV] ChangeLog)

2010-05-29 Thread Pierre Joye
hi Gwynne, On Sat, May 29, 2010 at 10:39 AM, Gwynne Raskind wrote: >> By "without doing it manually", I meant when one fetches a release or >> a snapshot. > > > The ChangeLog files aren't updated because no one ever ported the ChangeLog > crons from CVS to SVN. It wouldn't be very difficult - i

Re: [PHP-DEV] Re: Commit messages and ChangeLog (Re: [PHP-DEV] ChangeLog)

2010-05-29 Thread Gwynne Raskind
On May 28, 2010, at 7:43 PM, Pierre Joye wrote: Is anybody using this file? If this is thee case could somebody then make sure it's being updated (and maybe take care of ChangeLog-200[6-9].gz being created) else I'd suggest dropping them. An outdated file might be confusing for

Re: [PHP-DEV] Type hinting

2010-05-29 Thread Sebastian Bergmann
Am 28.05.2010 20:07, schrieb Stas Malyshev: > On top of that, your boilerplate throws exception. Strict typing would > error out. That's very different thing (exceptions can be handled > hierarchically, errors can't). So replacing that with strict type > probably won't do the same. The "optional