in reply to Re^2: My confession - I'm now strict-ing...
in thread My confession - I'm now strict-ing...
And thus makes your code better. use strict; doesn't improve the code, it forces (well, unless you really resist) YOU to improve your code.Actually, it doesn't force you. When it comes the variables, the easy way out is just sticking 'our' in front of all the undeclared variables, or my()ing them on the top level. It does satisfy strict.
I really hope people don't think that's an improvement of the quality of the code.
Note, I'm not saying one shouldn't use strict. But strict isn't a silver bullet, and its presence on itself in code doesn't mean much.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: My confession - I'm now strict-ing...
by dsheroh (Monsignor) on Jan 28, 2010 at 08:38 UTC | |
by JavaFan (Canon) on Jan 28, 2010 at 09:11 UTC |