Re: should I be looking to eliminate all notices?
| From: | Zoltán Németh | Date: | Sat, 21 Apr 2007 09:40:20 +0000 |
| Subject: | Re: should I be looking to eliminate all notices? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253414@lists.php.net to get a copy of this message | ||
2007. 04. 21, szombat keltezéssel 10.17-kor Ross ezt írta:
> Should I care? Is it considered bad practice to just turn them off?
some people consider it bad practice, yes
I personally wouldn't say it is bad practice, but I am sure that in many
cases notices can help finding bugs in your code. So I think it is a
tool which can help in coding, you decide if you want to use it or
not ;)
greets
Zoltán Németh
>
>
>
> ""Zoltn Nmeth"" <znemeth@alterationx.hu> wrote in message
> news:1177146541.5022.11.camel@zoli-desktop...
> > When coding I think it is better to turn error_reporting to E_ALL and
> > try to write code that emits no notices.
> >
> > Of course there might be some notices left, which you decide not to care
> > about, in production notices should be turned off then
> >
> > greets
> > Zoltn Nmeth
> >
> > 2007. 04. 21, szombat keltezssel 10.01-kor Ross ezt rta:
> >> A quick one this morning.
> >>
> >> When coding should I be trying to code so there are no notices or is it
> >> ok
> >> to turn them off.
> >>
> >> I don't really want to do a isset check for every index I have.
> >>
> >>
> >> Ross
> >>
> >
>