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

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

by Juerd (Abbot)
on Feb 16, 2006 at 11:52 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://530642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-18 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found