Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: 78/80 chars perl line still a meaningful rule

by parv (Priest)
on Oct 16, 2012 at 10:33 UTC ( #999279=note: print w/replies, xml ) Need Help??

in reply to 78/80 chars perl line still a meaningful rule

I much prefer 4:3 screens instead of stupid rage of 16:9 (16:10 is only a slight improvement). I do not have a choice though than to deal with squishy screens at work and at home. Further, you may have a huge monitor(s), I do not.

I use large font sizes (~20 pt in browser, ~18 px monospaced font in xterm); on MS Windows I increase the dpi instead by about 25%.

I generally follow 80-character line length limit. When using two vertical windows (as in vim :vsplit or vimdiff) even that limit becomes too large. I often not care for the limit in case of a longer string. Then again I tend to fragment a string around punctuation marks, (semi)independent clauses, after each sentence, etc. if possible.

When printing (in monospaced font at size 14 pt), limit is around 68 characters. If I were to generally use a limit larger than 80-character, a (temporary) reformatting would require more time.

  • Comment on Re: 78/80 chars perl line still a meaningful rule

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999279]
[Your Mother]: :P
[LanX]: Moma knows best! ;-)
[Your Mother]: I am quite aware that Module::Build is MUCH more in favor with many monks but I had trouble with it every time I tried to use it and trouble with CPAN stuff that used it too.
[Your Mother]: Take my advice with a grain of salt. I haven't done a new CPAN release in years at this point.
[LanX]: I want to author a new module for CPAN w/o complicated build structure
[LanX]: ther is also Dist::Zilla :-/
[LanX]: How to make a CPAN Module Distribution from 2002
[Your Mother]: Dist::Zilla is kind of the nuclear option. I set it up back in the day but it's really targeted at authors who are managing MANY modules and want to automate everything.
[erix]: perlancar should know ;)
[LanX]: see warning

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-08-18 17:42 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (306 votes). Check out past polls.