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

Re: On what column do you wrap your code?

by Knom (Beadle)
on Feb 11, 2006 at 05:40 UTC ( #529529=note: print w/ replies, xml ) Need Help??


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

... but seriously, personally I like the challenge of WRITING code in less than 80 cols.


Comment on Re: On what column do you wrap your code?
Re^2: On what column do you wrap your code?
by apotheon (Deacon) on Feb 14, 2006 at 03:51 UTC

    That's pretty much how I handle it. I don't wrap: I just try to keep lines of code readably short.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin

Re^2: On what column do you wrap your code?
by tbone1 (Monsignor) on Feb 15, 2006 at 20:09 UTC
    but seriously, personally I like the challenge of WRITING code in less than 80 cols.

    Hm, apparently you don't have to work with the naming standards imposed by our Oracle group. When one regularly sees stuff like GENERIC_PRODUCT_PKG.GET_GENERIC_PRODUCT_GENERIC_ITEM_CROSS_REFERENCE_INDICATOR_FLAG with about ten parameters on the procedure, it's enough to make a sane person move to Detroit.

    --
    tbone1, YAPS (Yet Another Perl Schlub)
    And remember, if he succeeds, so what.
    - Chick McGee

      Egads!!! Here's my suggestion:

      my $FLAG= GENERIC_PRODUCT_PKG.GET_GENERIC_PRODUCT_GENERIC_ITEM_CROSS_REFERENCE_INDICATOR_FLAG;
      my $MESSAGE="GENERIC PRODUCT XREF INDICATOR FLAG EQUALS: ";
      $MESSAGE.=$FLAG."\n";
      print $MESSAGE;

      Of course, it does help if you don't start out with varbind mappings which are > 80 chars...

      Isn't cut and paste a wonderful thing?!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-07-24 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (156 votes), past polls