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

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "A challenge to the coders here"

Collapse

  • SupremeSpod
    replied
    Originally posted by VectraMan View Post
    I only learned assembler as I'd heard it was the way to get girls.
    It works for AtW.

    Leave a comment:


  • SimonMac
    replied
    Originally posted by Zippy View Post
    Stop treating us like objects!


    But then again throw an unexpected exception and the results could be fatal even though the object still goes down on you

    Leave a comment:


  • EternalOptimist
    replied
    Originally posted by Zippy View Post
    Stop treating us like objects!


    I love you, I love you
    I love you to bits
    You life support system
    for a big pair of t1ts





    Leave a comment:


  • Zippy
    replied
    Stop treating us like objects!

    Leave a comment:


  • VectraMan
    replied
    Originally posted by mudskipper View Post
    And you wonder why you're not getting any!
    I only learned assembler as I'd heard it was the way to get girls.

    Leave a comment:


  • Bunk
    replied
    Originally posted by sasguru View Post
    easy to see why there are so many sad lonely singletons on this site.
    I'm more of a delegator

    Leave a comment:


  • DimPrawn
    replied
    Originally posted by sasguru View Post
    easy to see why there are so many sad lonely singletons on this site.
    Implementing Singleton in C#

    Leave a comment:


  • sasguru
    replied
    easy to see why there are so many sad lonely singletons on this site.

    Leave a comment:


  • mudskipper
    replied
    Originally posted by VectraMan View Post
    Leaving aside that would do nothing, I've optmised it using MMX assembler for you:

    mov esi, women
    mov ecx, pulse
    pxor mm7,mm7

    loop:
    movq mm0, [esi]
    pshagusw mm0, mm7 ; shag 4 women simultaneously
    add esi, 8
    dec ecx
    cmp ecx, 0
    jz loop
    And you wonder why you're not getting any!

    Leave a comment:


  • VectraMan
    replied
    Originally posted by Troll View Post
    var pulse = 0;
    while (pulse>0) {
    shag(pulse);
    pulse++;
    }
    Leaving aside that would do nothing, I've optmised it using MMX assembler for you:

    mov esi, women
    mov ecx, pulse
    pxor mm7,mm7

    loop:
    movq mm0, [esi]
    pshagusw mm0, mm7 ; shag 4 women simultaneously
    add esi, 8
    dec ecx
    cmp ecx, 0
    jz loop

    Leave a comment:


  • Scrag Meister
    replied
    Originally posted by Bunk View Post
    var mitchTheTester = {};
    mitchTheTester.wood = true;

    FTFY

    Leave a comment:


  • mudskipper
    replied
    Talk about overcomplicating your code!


    while (true) {
    shag();
    }

    I believe this has the same effect.

    Leave a comment:


  • Ketchup
    replied
    Originally posted by Troll View Post
    var pulse = 140;
    var stillWarm=true;
    while ((pulse>0)||(stillWarm)) {
    shag(pulse);
    pulse--;
    }
    FTFY

    Leave a comment:


  • mudskipper
    replied
    Man you = new Man();

    Leave a comment:


  • NotAllThere
    replied
    Originally posted by Troll View Post
    var pulse = 0;
    while (pulse>0) {
    shag(pulse);
    pulse++;
    }
    Originally posted by Bacchus View Post
    wouldn't you end up shagging until your stack overfloweth?
    No, because pulse starts of as zero, so the while clause is never true, so pulse never increases. He's dead Jim.

    Originally posted by minestrone View Post
    public void testWoman( Male me , Female woman) {

    assertEquals( me.wantsBeer() , woman.getsBeerWhenManWants() ) ;
    assertEquals( me.wantsSex() , woman.getsNakedWhenManWants() ) ;
    assertEquals( me.wantsFootballOnTv() , woman.getsSkyControllerWhenManWants() ) ;

    }

    I strongly typed there, no polymorphism in that method.
    Fail. Why on earth would you ever allow the woman to even touch the remote control?

    Code:
    METHOD valentine_poem.
    
      DATA: lr_descr   TYPE REF TO cl_abap_typedescr,
            lr_roses   TYPE REF TO zcl_flowers,
            lr_violets TYPE REF TO zcl_flowers.
    
      lr_roses = zcl_flowers=>factory( zcl_flowers=>c_roses ).
      lr_violets = zcl_flowers=>factory( zcl_flowers=>c_violets ).
       
      " Poem logic
      IF lr_roses->is_permitted_colour( 'red' ) EQ abap_true AND lr_violets->is_permitted_colour('blue') NE abap_false.
        lr_descr = cl_abap_typedescr=>describe_by_data( me ).
        ASSERT lr_descr->absolute_name EQ 'ZCL_HAIKU'.
      ENDIF.
    
    ENDMETHOD.
    If Roses are red
    And violets sometimes blue
    This is a Haiku

    Leave a comment:

Working...
X