in reply to Should code that does not use strict even be considered here?
By all means, if code is posted which has a problem that reveals itself if strict or warnings had been used, point this out. But if a problem has nothing to do with strict and/or warning on, whining about it is just pointless clutter.
If you don't want to help someone if (s)he doesn't use strict or warnings, fine. Just keep quiet and read the next post. But it is as silly as someone not giving directions for not wearing a seat belt.
People should post code snippits. Long enough to identify the problem, but seldomly entire files. Unless it's relevant for the problem, don't post the code. Which, in most of the cases, means, don't post your 'use strict' or 'use warnings' lines. They won't matter.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Should code that does not use strict even be considered here?
by Eimi Metamorphoumai (Deacon) on Apr 09, 2009 at 14:27 UTC | |
by JavaFan (Canon) on Apr 09, 2009 at 14:46 UTC | |
by Eimi Metamorphoumai (Deacon) on Apr 09, 2009 at 15:04 UTC | |
by BrowserUk (Patriarch) on Apr 09, 2009 at 15:28 UTC |