Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Automate perltidy for PM code?

by swampyankee (Parson)
on Jul 09, 2007 at 17:51 UTC ( #625671=note: print w/ replies, xml ) Need Help??


in reply to Automate perltidy for PM code?

I think moron's OP is reasonably argued and well written, so I think it deserves up votes.

On the other hand, I disagree with the necessity or even desirability of enforcing perltidy's standards. Part of this is that I don't like perltidy's defaults; part of it is that the code's physical layout can give clues about the poster's thinking.

-->

emc

Any New York City or Connecticut area jobs? I'm currently unemployed.

There are some enterprises in which a careful disorderliness is the true method.

—Herman Melville


Comment on Re: Automate perltidy for PM code?
Re^2: Automate perltidy for PM code?
by Fletch (Chancellor) on Jul 09, 2007 at 21:13 UTC

    I'm in this camp as well (well, I've got my own perldityrc that makes things like I liked them (which of course is contrary to the official settings at $work so I've gotta have two different copies so I can actually look at things sanely then broked them before checkin . . . :)). Very good point about the state of the code revealing state of mind; inconsistent indentation or ZOMGWTFBBQ complete lack thereof can point out stuff ("This entire block is outdented . . . maybe it's a pasteo").

    That being said though, I can agree that it'd be a nice-to-have if there were (say) a "Download Tidy'd" link which would save me the trouble of cutting and pasting into a new document and then having the editor run-shell-perltidy over it manually. Less steps == less effort to look into problems == easier to help == more likely to bother actually replying.

    Maybe some enterprising Greasemonkey guru could crank out something that would do something along these lines (not that'd do me any good since I primarily use Safari . . . ).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-04 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls