Thread: If PHP Were British

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007

    If PHP Were British

    If PHP Were British - Added Bytes by Dave Child

    The especially funny part, my favorite, is where
        try {
        // Code here
        } catch (Exception $e) {
        // Handle exception
        would_you_mind {
        // Code here
        } actually_i_do_mind (Exception Łe) {
        // Politely move on
    Haha. This is classic. From now on I'm using this in my C++:
    #define would_you_mind try
    #define actually_i_do_mind catch

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Paamayim nekudotayim.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    My favourite was the class(aka upper_class) ...example ..
    public: and protected: changed to
    state and hereditary !

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. British Photo's are fakes
    By Clyde in forum A Brief History of
    Replies: 26
    Last Post: 05-21-2004, 09:26 PM
  2. Distance and the British way of doing things
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 07-13-2003, 11:15 AM
  3. a british question/joke
    By ygfperson in forum A Brief History of
    Replies: 8
    Last Post: 06-02-2002, 01:05 PM
  4. british
    By jinx in forum A Brief History of
    Replies: 5
    Last Post: 03-31-2002, 05:47 PM
  5. British Telecom ownz j00!
    By Govtcheez in forum A Brief History of
    Replies: 3
    Last Post: 02-12-2002, 12:17 PM