[Chicago-talk] In partial defense of no 'use strict'
Steven Lembark
lembark at wrkhors.com
Sat Feb 28 08:45:05 PST 2009
> In partial defense, the Perl stubs are not whole scripts and variable
> declarations may be prepended later. So 'use strict' in the stub will
> always cause lots of errors if you run a 'perl -c' on the stub. When
> editing the stub by itself, it is still useful in to run 'perl -c' to
> catch other errors.
>
> OK, the header could have 'use strict'...
Why bother if it interferes with your development
in the project? Strict isn't built into the language
in part because there are legit reasons NOT to use
it in some cases.
--
Steven Lembark 85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lembark at wrkhors.com +1 888 359 3508
More information about the Chicago-talk
mailing list