Other than the extremely weak argument you present
I don't think JavaFan's argument is weak, and you didn't do anything serious to prove your point.
Also if you don't respect the opinions of those that answer, why ask for opinions in the first place?
Perl 6 - links to (nearly) everything that is Perl 6.
| [reply] |
I have nothing against defaults.
However, if you would be happy with the defaults, you wouldn't toss out one module, and write your own with a different set of defaults.
I know what "defaults" I get when using 'use warnings', or 'use strict'. I also know they are very unlikely to change, and, if they do, it will require a major Perl release. The defaults for 'use strict' haven't changed since 5.000.
But with Modern::Perl, nextgen, and other modules enabling lexical pragmas outside of their lexical scope, they aren't defaults. The are choices, choices made by the authors. And regardless whether one agrees with the authors choices, for each module you encounter in code you inherit/maintain, you'll have to find out what it does. That takes an effort.
Writing good Perl code isn't golfed code. Mentioning the pragmas you're going to use in your program only takes a few seconds of typing. IMO, the benefits of mentioning the pragmas your using far outweight the cost of typing a few lines. It's just like comments. I spend quite a few keystrokes on comments. Sometimes, the comments even look like "boilerplate". Guess what, I don't hide that in a module either. | [reply] |
EvanCarroll: "Hey, can you give me a ride to the store?"
Friend: "Sure, let's go."
EvanCarroll: "Dude, your car sucks."
Asking someone for their opinion, then arguing against it, teaches people that they should not bother responding to your requests.
| [reply] |