Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Odd, I almost want to ask how old all the respondants are to this query. I don't mean that in an insulting way. I am just wondering if things are being taught differently these days. I was actually taught that you ALWAYS maintain code in the original style and not a single person made such a strong statement. Some mentioned a personal preference or even conditional preference, but not having been taught that coding in the orignal style was the rule of maintenance programming.

While doing so can be painful, I have actually experienced the pain of breaking this rule also. Breaking the rule is worse.

There are two outcomes of breaking the rule. The first and most obvious is everyone does and the resulting code is so abysmally horrendous it starts to rot before your eyes.

The second is a complete, elegent solution coming as close to beauty as you can imagine. You're co-workers will likely crucify you for it. The reasons for each will be different, the result will be the same. Your efforts will NOT be appreciated.

When dealing with old code that is no longer representative of current coding styles, changing the coding style should be an agreed upon project or it should be left as is. Mixing it up or fixing it unauthorized will never work in your favor.

Someone above mentioned the pain of reorganizing someone else's play pen. Believe it...

If you feel you have lost yourself, create a personal project outside of work for personal development. Your employer doesn't care about your being creativly restrained. Your employer wants you to be replaceable. Code only you can maintain restrains your manager. Code your co-workers have to be trained to understand costs your manager. Code that looks like all the rest makes your manager comfortable and is what they believe they are paying you for.


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

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 taking refuge in the Monastery: (7)
As of 2024-04-19 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found