> I'm just trying to get a general feeling here from the community.
>
> I have a script that I am getting ready to turn over in "production mode".
I
> am using 'use strict' of course, and during my coding and testing, have
> enable warnings.
>
> Now that the code is ready to "go production", should I turn off the
warnings
> mode?

Why would you want to turn off warnings mode?  You probably aren't actually
getting any messages from the warnings pragma, so it shouldn't make any
difference
to your users (except for possibly an imperceptible slow down, mentioned by
another poster).  If somebody else goes in and starts tinkering with your
code
for whatever reason (maintenance, upgrade, curiousity, etc), they should do
so
with warnings on so that they don't break the software without realizing it,
and
are less likely to add the warnings pragma back if you take it out than to
leave
it in if you do.

I hope my ramblings make sense.

                        /\/\ark


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to