• 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!

What is the best comment in source code you have ever encountered?

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

    #11
    "Full UK backup"
    was abbreviated to: fuk

    Comment


      #12
      Originally posted by vetran View Post
      ...'this shouldn't happen'
      Now a feature of many languages : ASSERT.

      // I have used "HIPPOTAMUS" as the EOF marker, as there is no EOF marker in this sorry excuse for a language.

      The language was RPF - ROSCOE Programming Facility.
      Down with racism. Long live miscegenation!

      Comment


        #13
        Originally posted by KentPhilip View Post
        "Full UK backup"
        was abbreviated to: fuk
        Shouldn't that be FUKUP
        Originally posted by Stevie Wonder Boy
        I can't see any way to do it can you please advise?

        I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

        Comment


          #14
          Code:
          // We're going to need some better programmers
          While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

          Comment


            #15
            1. you will never figure this code out - this is the recipe for a really good cocktail instead <recipe listed>.
            2. this is a pdp 11-70 not the starship enterprise.

            Comment


              #16
              A file in the middle of a hideous 3G telecoms algorithm had not changed for years and the last change was:

              // this does not work, will fix it
              "He's actually ripped" - Jared Padalecki

              https://youtu.be/l-PUnsCL590?list=PL...dNeCyi9a&t=615

              Comment


                #17
                // TODO
                // 1. Post on CUK
                // 2. Get phone number of girl in accounts
                // 3. Send invoice
                // 4. Get contract renewed AND THEN
                // 5. Remove this TODO list from source code

                Comment


                  #18
                  Originally posted by SimonMac View Post
                  Shouldn't that be FUKUP
                  Good idea. I'll change the job name on our live server right now

                  Comment


                    #19
                    In a unix script for a bank back in the 90's...

                    ## speed this up by replacing /dev/rmt0 with /dev/null

                    Comment


                      #20
                      In a very long sql stored proc :

                      //There's a problem somewhere between here

                      ..... 500 lines of code

                      //and here and I'm buggered if I can find it.

                      The sproc was around 5000 lines long IIRC. This was at a very large trading floor in London.

                      Comment

                      Working...
                      X