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

One for the Code Monkeys here....

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

    One for the Code Monkeys here....

    my_first_calculator.py/my_first_calculator.py at master . AceLewis/my_first_calculator.py . GitHub
    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.

    #2
    “Do the simplest thing that could possibly work”

    Comment


      #3
      Code:
      # TODO: Make it work for all floating point numbers too

      Comment


        #4
        He should have emulated a processor first, then wrote it in assembly.

        Comment


          #5

          Why on earth would you out NickFitz by publishing his best EVER code!!! Shameless.
          What happens in General, stays in General.
          You know what they say about assumptions!

          Comment


            #6
            Looks like it was created using TDD. It passes all the tests!
            Down with racism. Long live miscegenation!

            Comment


              #7
              Originally posted by NotAllThere View Post
              Looks like it was created using TDD. It passes all the tests!
              It just needs refactoring.
              Old Greg - In search of acceptance since Mar 2007. Hoping each leap will be his last.

              Comment


                #8
                It's missing a suitable expletive if you do a divide by zero

                Comment


                  #9
                  I can't work out what 51*1 is. I tried to use this program but it did not work. Can anyone help?

                  Comment

                  Working...
                  X