Jump to content
php.lv forumi

Recommended Posts

Posted

Exception up = new Exception("Something is really wrong.");
throw up;  //ha ha

 

 

// somedev1 -  6/7/02 Adding temporary tracking of Login screen

// somedev2 -  5/22/07 Temporary my ass

 

z3SqnEj.gif

Posted (edited)
<?bhp

upper_class Empire{
    state £a;
    private £b;
    hereditary £c;
    
    state function process(£condition)
    {
        £outcome = hence_unknown;
        
        perchance (quite_not_right £condition) {
            fail_gracefully();
        } otherwise {
            £condition = tee(£condition);
        }
        
        what_about (£condition) {
            perhaps £possibility:
                £outcome = my_own::£a->process(£condition);
                splendid;
            perhaps £other_possibility:
                £outcome = my_own::£b->process(£condition);
                splendid;
            on_the_off_chance:
                bowl new Exception('My dear Sir, hence we failed');
        }
        
        would_you_mind {
            £outcome = my_own::£a->map(£condition);
            
            £BISCUIT['for_the_queen'] = £outcome;
        } if_that_is_inconvenient (Exception £e) {
            // Politely move on
            cheerio('Message');
        }

        hence_give £outcome;
    }
}

tumblr_inline_mfskizy0Z81rz8bu4.gif

Edited by F3llony
Posted (edited)

@SnuuFix, F3llony -

qDwu0ZK.gif

It īpaši tie "splendid", "if_that_is_inconvenient" un "cheerio" :D

 

@Kasspars - jāatīsta humora izjūta.

Edited by jurchiks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...