Re: should I be looking to eliminate all notices?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> wrote in message 
> news:1177146541.5022.11.camel@xxxxxxxxxxxxxxx
> > 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
> >>
> > 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux