Personally, I always try to ensure my scripts run without any notices at all, but I consider myself to be pretty anal about that sort of thing, and with notices on in development, you can easily spot an miss-spelled variables or other minor problems.
The reason I’m asking this question is that a few premium (ie paid-for) WordPress plugins I am using from a popular WordPress plugin site produce a lot of notices, sometimes 10+ on a page. Is this acceptable for something I’ve paid for?
It’s not hard to do suppress notices like this:
if(isset($_GET['var']) && $_GET['var'] == 'foo') {
These things could obviously cause more headaches down the line as a script grows.
Yes. The feedback is there to help improve your script and catch possible mistakes. Beyond that, it gets very subjective and I’ll refrain from posting opinions.