Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Programming Jokes

  1. #11
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Programming Jokes

    Quote Originally Posted by snip3r8 View Post
    I would suggest the thrust library if you ever wish to sort those private vectors.


    On a side note, I'm guessing no plagiarism should be allowed. Otherwise, http://www.gnu.org/fun/fun.html

  2. #12
    Join Date
    Oct 2007
    Location
    Kentucky, USA
    Beans
    731
    Distro
    Ubuntu

    Re: Programming Jokes

    Code:
    while True:
        def day(plans):
            return False
    
        if day(plans) == True:
            print "You're getting somewhere"
    
        else:
            print "No time. Too busy."
    Which is more important in obtaining the truth, "what" or "why"? Trick question. They are of equal importance.
    Freely ye have received, freely give.

  3. #13
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Programming Jokes

    Code:
    while True:     
         def day(plans): 
             return False 
    
        if day(plans) == True: 
            print "You're getting somewhere"      
    
        else:         
            print "No time. Too busy."
    
        time.sleep(86400)

  4. #14
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,554
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Programming Jokes

    PHP Code:
    class sunglasses_addict
    {
        protected:
            
    bool sunglasses_on false;
        private:
            
    void be_cool()
            {
                while (
    true)
                {
                    if (
    sunglasses_on == falsesunglasses_on true;
                    else 
    sunglasses_on false;
                }
             }
    }
    Horatio_Caine//Feel free too add more 

  5. #15
    Join Date
    Mar 2010
    Location
    South Africa
    Beans
    341
    Distro
    Ubuntu

    Re: Programming Jokes

    PHP Code:

    Meek 
    Earth 
    Last edited by snip3r8; August 29th, 2012 at 10:51 AM. Reason: Added code wrapping
    Registered Linux user: #543082
    Registered Ubuntu user: #34219
    http://dvisagie.com/


  6. #16
    Join Date
    Oct 2007
    Location
    Kentucky, USA
    Beans
    731
    Distro
    Ubuntu

    Re: Programming Jokes

    Code:
    frome life import *
    fun()
    NameError: name 'fun' is not defined
    Last edited by ki4jgt; August 31st, 2012 at 05:30 AM.
    Which is more important in obtaining the truth, "what" or "why"? Trick question. They are of equal importance.
    Freely ye have received, freely give.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •