Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I'm a ninja coder. I admit it. But in the process, I'm afraid that I've lost my true self. How do I really code?

My style rule: If you have to maintain the someone elses code style, your sanity level will approach the sanity level of the original developer.

I've worked on a large code base with many developers in the past. In general it is a good idea to keep the existing author's style especially if they are still maintaining the code, and it doesn't drive you crazy. I don't look at it as losing myself, but rather being able to adapt.

That said, I feel your pain. My sanity took a hit a while back when I had to maintain a fair amount of code that someone reformatted to their "taste" since they didn't want to maintain the original style. This taste included making lines go past 100-columns by using crazy indentation rules and lots of levels of indentation, introducing non-English comments and variable names to code written entirely in English, and using huge variable names (>60 characters long in some cases). This made it impossible to even diff the code against previous releases and determine what changes were actually made, even with a version control system. My choice was to keep with their "style", reformat the huge amount of code again, or find other work. The other work is working out just fine...

In reply to Re: Ninja style coding... is it bad? by bluto
in thread Ninja style coding... is it bad? by thaigrrl

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

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (8)
    As of 2018-03-17 15:36 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (224 votes). Check out past polls.