Like Tree1Likes
  • 1 Post By Yarin

If PHP Were British

This is a discussion on If PHP Were British within the General Discussions forums, part of the Community Boards category; If PHP Were British - Added Bytes by Dave Child The especially funny part, my favorite, is where Code: try ...

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

    If PHP Were British

    If PHP Were British - Added Bytes by Dave Child

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

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,313
    Paamayim nekudotayim.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    My favourite was the class(aka upper_class) ...example ..
    public: and protected: changed to
    state and hereditary !
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



Popular pages Recent additions subscribe to a feed

Similar Threads

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21