Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

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

I modified some c code about 2 years ago, the code name for that project was ASSCU (sounds like ass cool, don't laugh, it is real, and it stands for "A-Series Source Catch Up"). To indicate the purpose of the change, I wrapped my modifications between this set of comments:

/* ASSCU begin, Peter */ ... /* ASSCU end, Peter */

Recently a guy, did some more change to the same .c file for a different project, he copy and pasted some of my code including comments, but made some smart move and changed my name to his name, so all his changes are wrapped between:

/* ASSCU begin, Tom */ ... /* ASSCU end, Tom */

During code review, I asked the guy what ASSCU means, and why he put it everywhere. He said that he didn't know, he saw it in my modification, and he just thought it was a company standard to wrap all changes between ASSCU. Everybody in the room laughed, and I told him that that was an old project completed 2 years ago. No more ASSCU.


In reply to Re: The joys of bad code by pg
in thread The joys of bad code by BUU

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: (5)
As of 2024-04-19 22:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found