• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

code comments

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Originally posted by minestrone View Post
    Actually the most annoying ones I find are..

    // Fix for bug #196, Fix By Joe Bloggs, 12/12/03

    I want to take people outside who do that and beat them about the head with a CVS manual until they know what a repository is used for.
    last client co was like that but actually worse eg:

    // Fix for bug #196, Fix By Joe Bloggs, 12/12/03
    // old code line
    .... new code....
    // end Fix for bug #196, Fix By Joe Bloggs, 12/12/03

    Comment


      #62
      Originally posted by VectraMan View Post
      Current ClientCo. want me to write a comment block at the start of every function with a change history of that function. I've made the point that that's what source control is for, but they haven't changed the policy yet.
      last client co did that too

      Comment


        #63
        Originally posted by jmo21 View Post
        last client co was like that but actually worse eg:

        // Fix for bug #196, Fix By Joe Bloggs, 12/12/03
        // old code line
        .... new code....
        // end Fix for bug #196, Fix By Joe Bloggs, 12/12/03
        The sooner we can implement CVS (or indeed Subversion - I don't care) for the iSeries the better.

        I once heard a sales line that the product I work on had more lines of code than the the leading competitor. What the sales guy didn't realise was that 50+% of them were commented out bugs....
        ‎"See, you think I give a tulip. Wrong. In fact, while you talk, I'm thinking; How can I give less of a tulip? That's why I look interested."

        Comment


          #64
          Originally posted by zeitghost
          I did once peruse a book all about (apparently) Object Oriented Assembler.

          I put it back on the shelf.
          No reason at all why you can't do object oriented assembler. You don't need to be able to define types just to be object oriented (although it does make it a bit easier).

          In fact, most of the assembler I've ever done has been done inline in C++ functions.
          Will work inside IR35. Or for food.

          Comment

          Working...
          X