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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Not to mention, the optimal width for reading prose is somewhere around 60 characters per line. The eyes don't need to track so far back when they reach end of the line and so on. (I'm sure there's research on this I can't bother to conjure up right now.) (See also: newspapers, magazines. They break their text into columns, too.)

Usually when I need to print text, I print two pages per sheet (A4) just to get the line lengths to something satisfactory. It also tends to save a bit of paper...

Anyway, code. My stance is that you can't achieve clean code unless you keep your line length under 80 characters. The widescreen monitor argument? Either put multiple code listings side by side, or pivot your monitor. 10:16 or 9:16 doesn't seem so wide anymore, does it?

(...those cheap monitors that use TN panels don't pivot so well...)


In reply to Re^2: 78/80 chars perl line still a meaningful rule by Anonymous Monk
in thread 78/80 chars perl line still a meaningful rule by McA

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found