Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
go ahead... be a heretic
 
PerlMonks  

Re^2: On what column do you wrap your code?

by Juerd (Abbot)
on Feb 16, 2006 at 11:52 UTC ( #530642=note: print w/ replies, xml ) Need Help??


in reply to Re: On what column do you wrap your code?
in thread On what column do you wrap your code?

78 would be ok, but WHY?

The usual argument says stuff about terminals not being able to handle characters in the last column correctly (then why the hell HAVE that column?), and 80-2 allowing the text to still be 80 wide after adding "> ", the quotation mark used in email.

However, I wouldn't even use such a terminal, and the quoting argument doesn't hold given replies to replies, when another "> " is added. And I indent all code (a habit I got from POD, and I like it) in mail anyway.

So I think 78 makes no sense at all, and this is one of the guidelines in Perl Best Practices that I choose to ignore. It's 80 for me.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


Comment on Re^2: On what column do you wrap your code?
Re^3: On what column do you wrap your code?
by IOrdy (Friar) on Feb 22, 2006 at 06:05 UTC
    My guess is 78 came about because 'diff' requires two columns for the '< ' and '> '. That seems sensible.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://530642]
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: (6)
As of 2014-04-19 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls