On Sat, Mar 1, 2008 at 9:45 PM, Thomas Bruederli roundcube@gmail.com wrote:
Notices IMO just destroy the very nice advantages of PHP. They're good for development but don't expect all (of my) code to be notice-free. Especially if you make use of third party libraries (as we do), you cannot guarantee that all code is notice free.
Personally, I have no issues reporting them. :-) Especially all the PEAR stuff should fix those issues and I know no PEAR developer who wouldn't fix this when we report it. Or fixing them since libs like Ilohamail are not actively maintained anymore.
I know we cannot fix all, but we should strive to make at least RoundCube free of notices.
The fact that the PHP interpreter doesn't care about inexisting indexes and undeclared variables is one of the reasons why I like PHP.
I see that, but it's also why PHP has such a bad reputation and people call PHP developers "script kiddies" etc.. I don't mean we have to do a Java like thing, but generally I like my vars type safe, I like to initialize them because then I know what I am dealing with.
I have been through this countless times where a war is not checked and it just goes havoc and brings unpredictable results which are hard to debug and trace.
I agree that there shouldn't be any notices in the installer but many people who install scripts like RoundCube have no idea about PHP and they maybe have notices on. To avoid unnecessary complains and bug reports that aren't really bugs I still vote to disable notices within the installer.
I don't really feel like making this a huge issue for 0.1-stable (after all it's 0.1), but if you have E_NOTICE on while you code and therefor fix your issues, there won't be any issues for people who have them enabled either. ;-)
Till _______________________________________________ List info: http://lists.roundcube.net/dev/