in reply to Re: Requiring use strict
in thread Requiring use strict
Hi there,
I think making the use warnings and use strict a default for Perl 6 would be a generally good idea.
Code that doesn't need them can always say "no strict; no warnings" (no need for a "lenient" pragma) and a couple of handy command line switches like -w (for "no warnings", reuse is good, people get used after a while, after all) and -f (not in use, for "no strict"; f from "fool the strictness of the compiler", if not a blatant "i want to be a fool") would do for one-liners.
Power is good. Raw power in the hands of newbies or incompetent is a shotgun aiming at their feet. Considering everybody in the higher spheres recommends always using strict and warnings, this is a logical step to pursue. If you know what you are doing (TheDamian et al.) you can turn it off the same way they do it nowadays, but instead of inside a little { block } to mangle with the symbols table, for the whole program/package if they want: it's there, they use it when they know they can. The newbies will just have to wait until they know better, which is a Good Thing, IMHO.
Best regards,
--
our $Perl6 is Fantastic;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Requiring use strict
by Abigail-II (Bishop) on Jul 16, 2003 at 12:02 UTC | |
by Excalibor (Pilgrim) on Jul 16, 2003 at 14:26 UTC |