in reply to Re^9: Modern Perl and the Future of Perl
in thread Modern Perl and the Future of Perl
P::C is not useful to get accustomed to a wide variety of idioms, patterns and ways of expression, because it reduces the set.... P::C isn't useful to achieve any of those goals.
You keep saying this, and I keep not understanding what you mean. What do you think there is about P::C that makes people turn off their brains and keep generating oatmeal-bland code? Is it the default ruleset (which I agree is definitely not perfect for all purposes, but is highly customizable)? Or is it the idea that someone might criticize code that's not bog-standard shop-standard baby Perl and rewrite it that way?
I've seen code reviews so nitpicky and wrong-headed that they rewrote nice Perlish for-style loops into C-style for loops and missed important things like meaningful, domain-specific names for identifiers and quality of algorithm. Those happen with or without P::C.
I agree that using it to make everyone use the abysmal if (!something...) construct where postfix unless makes more sense is stupid. I've seen people arguing for that based on PBP, and they're wrong.
However, I haven't seen anyone seriously arguing that anyone should use P::C to detect and stamp out deviations from the coding standards across the organization except you and BrowserUk, and that in the negative. That kind of passive-aggressive behavior is actually harmful to development teams, and I agree with both of you that it's counterproductive.
So I really don't understand why you say there are so many people promoting dangerous things with it, at least anyone worth listening to.
Update: Rephrased based on Re^11: Modern Perl and the Future of Perl, as I didn't write what I meant and wrote exactly the opposite of what I meant.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Modern Perl and the Future of Perl
by shmem (Chancellor) on Dec 23, 2007 at 01:57 UTC | |
by chromatic (Archbishop) on Dec 23, 2007 at 02:46 UTC | |
by Cop (Initiate) on Dec 23, 2007 at 03:00 UTC | |
|
Re^11: Modern Perl and the Future of Perl
by BrowserUk (Patriarch) on Dec 22, 2007 at 20:27 UTC |