Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: CPAN's perltidy to the rescue! (value)

by ruzam (Curate)
on Jul 14, 2012 at 06:41 UTC ( #981768=note: print w/ replies, xml ) Need Help??


in reply to Re^3: CPAN's perltidy to the rescue! (value)
in thread CPAN's perltidy to the rescue!

Don't misinterpret my previous posts either. I didn't mean to suggest that perltidy is the end all. But I do suggest that using a tool like perltidy is a much better alternative than rigid style conformance. Being able to see other people's style and learning from it can be an unheard of luxury in many work environments (at least the majority I've been exposed to). You are indeed most fortunate.

My poorly described patch rejection example didn't help. The patch in question contained less than half a dozen lines of code, which (I thought) followed the flavour of the original. I don't even know what style guides were violated, just that the reason for the patch being dropped was that it didn't conform. My patch fixed a problem I was having with URLs generated while running the application behind a proxy. I am just a casual user of the project, contributing a fix that solved a problem for me that I thought would be useful to others, nothing more.

I can say with full confidence that I would be embarrassed to show anyone the Perl code I wrote over a decade ago :)


Comment on Re^4: CPAN's perltidy to the rescue! (value)
Re^5: CPAN's perltidy to the rescue! (luck)
by tye (Cardinal) on Jul 14, 2012 at 07:19 UTC
    Being able to see other people's style and learning from it can be an unheard of luxury in many work environments (at least the majority I've been exposed to). You are indeed most fortunate.

    No, luck has only a little to do with it. I insist on good practices at the places that I work and only rarely have to work hard to overcome significant resistance to getting good practices going.

    If I'm working at a place where I'm finding too much resistance, then I also work on improving the work place's general acceptance of improvements.

    I'm usually quite successful. And when a workplace is beyond my ability to effectively reform, then I find a new job. But that has really only happened to me due to a corporate take-over where a powerful, established, and dysfunctional culture suddenly flowed in from the other company so that it was much better for me to move on rather than to endure the dysfunction for the time required to really make a dent in it. (This has actually happened several times but that is still quite infrequent considering the time span.)

    Heck, just responding to the assertion that we must have homogenous style with frank and confident skepticism is often enough to significantly undermine the support of that assertion, in my experience.

    - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981768]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-27 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls