Re^3: Why isn't C<use strict> the default?
by Mutant (Priest) on Oct 28, 2004 at 13:26 UTC
|
Exactly... I really struggle to see who we're protecting with this backwards compatability issue. There's basically two groups
- People who download a script from somewhere that doesn't run under use strict
- People who are running applications that don't run under use strict (they are either old, or poorly written), and decide to upgrade their version of Perl without doing any testing.
It seems to me there are simple solutions for both groups (either don't upgrade, or turn off strict).
Do we really want to protect these groups to the detriment of everyone else?
| [reply] |
|
You don't have to struggle. Backwards compatiblity has always been one of the primary goals
and is not going to change any time soon.
If you want strict on by default distribute your own perl.
| [reply] |
|
Why is it that you want others to suffer the burden? Who are you that you think it's easy for others to change their programs? You have no fucking clue how many programs will break, how many companies will use that as an excuse to no longer allow Perl to be used, or how it will hurt Perl as a movement.
Anyway, you don't have to convince one AM. You'd have to convince p5p or Larry. And I'm willing to bet a significant amount of money that it ain't going to happen.
Of course, you are free to patch your own version of perl.
| [reply] |
Re^3: Why isn't C<use strict> the default?
by Anonymous Monk on Oct 28, 2004 at 17:08 UTC
|
Build a language aimed at newbies, and only newbies will use your language. | [reply] |
|
| [reply] |
|
| [reply] |
|
|
...as soon has the newbie has learnt enough of this "language for newbies" to decide he isn't a newbie any longer, he'll stop using it...
Actually, yes, I see and have seen that often.
Done that too.
Sorry I have to disagree. Didn't you make decisions like:
No more BASIC, no more DOS, no more Ada, no more awk, no more shell scripting, much less use of sed, use more perl in vi than vi builtins... (to name some of mine as an example)?
Cheers, Sören
| [reply] |
|
|
| [reply] |
|