Current location: Hot Scripts Forums » General Community » The Lounge » Good Programming Jokes?


Good Programming Jokes?

Reply
  #21 (permalink)  
Old 03-10-09, 12:58 PM
Alchemist256 Alchemist256 is offline
New Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Yeroon View Post
The Evolution of a Programmer. I mostly like the manager part

Code:
High School/Jr.High

        10 PRINT "HELLO WORLD"
        20 END

First year in College

         program Hello(input, output)
          begin
             writeln('Hello World')
          end.

Senior year in College

         (defun hello
          (print
           (cons 'Hello (list 'World))))

New professional

         #include 
        void main(void)
         {
          char *message[] = {"Hello ", "World"};
           int i;

           for(i = 0; i < 2; ++i)
             printf("%s", message[i]);
           printf("\n");
        }

Seasoned professional

        #include 
        #include 
         class string
        {
         private:
          int size;
           char *ptr;
         public:
           string() : size(0), ptr(new char('\0')) {}
           string(const string &s) : size(s.size)
          {
           ptr = new char[size + 1];
           strcpy(ptr, s.ptr);
           }
           ~string()
          {
           delete [] ptr;
           }
           friend ostream &operator <<(ostream &, const string &);
           string &operator=(const char *);
          };
         ostream &operator<<(ostream &stream, const string &s)
         {
           return(stream << s.ptr);
         }
         string &string::operator=(const char *chrs)
         {
          if (this != &chrs)
           {
            delete [] ptr;
          size = strlen(chrs);
          ptr = new char[size + 1];
             strcpy(ptr, chrs);
          }
           return(*this);
        }
         int main()
         {
           string str;
           str = "Hello World";
           cout << str << endl;
           return(0);
         }

Apprentice Hacker

 #!/usr/local/bin/perl
 $msg="Hello, world.\n";
 if ($#ARGV >= 0) {
   while(defined($arg=shift(@ARGV))) {
     $outfilename = $arg;
     open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
     print (FILE $msg);
     close(FILE) || die "Can't close $arg: $!\n";
   }
 } else {
   print ($msg);
 }
 1;

Experienced Hacker

 #include 
 #define S "Hello, World\n"
 main(){exit(printf(S)  strlen(S) ? 0 : 1);}

Seasoned Hacker

 % cc -o a.out ~/src/misc/hw/hw.c
 % a.out

Guru Hacker

 % cat
 Hello, world.
 ^D

New Manager

 10 PRINT "HELLO WORLD"
 20 END

Middle Manager

 mail -s "Hello, world." bob@b12
 Bob, could you please write me a program that prints "Hello, world."?
 I need it by tomorrow.
 ^D

Senior Manager

 % zmail jim
 I need a "Hello, world." program by this afternoon.

Chief Executive

 % letter
 letter: Command not found.
 % mail
 To: ^X ^F ^C
 % help mail
 help: Command not found.
 % damn!
 !: Event unrecognized
 % logout
Just AWESOME!
Reply With Quote
  #22 (permalink)  
Old 03-11-09, 10:01 PM
ChaoticAura ChaoticAura is offline
Newbie Coder
 
Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
“I just saw my life flash before my eyes and all I could see was a close tag…”
Reply With Quote
  #23 (permalink)  
Old 03-13-09, 09:33 AM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Quote:
Originally Posted by ChaoticAura View Post
“I just saw my life flash before my eyes and all I could see was a close tag…”
Hahaha ... now that is a top notch Programming Joke!

Pete
__________________
Reply With Quote
  #24 (permalink)  
Old 03-13-09, 08:37 PM
Julie Viola Julie Viola is offline
Newbie Coder
 
Join Date: Dec 2008
Location: Canada
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry for that non programming joke...just get carried away with the joke

A programmer is walking along a beach and finds a lamp. He rubs the lamp, and a genie appears. 'I am the most powerful genie in the world. I can grant you any wish, but only one wish.' The programmer pulls out a map, points to it and says, 'I'd want peace in the Middle East.' The genie responds, 'Gee, I don't know. Those people have been fighting for millenia. I can do just about anything, but this is likely beyond my limits.'

The programmer then says, 'Well, I am a programmer, and my programs have lots of users. Please make all my users satisfied with my software and let them ask for sensible changes.' At which point the genie responds, 'Um, let me see that map again.'

taken from http://presurfer.blogspot.com/2008/0...ing-jokes.html
__________________
Julie ViolaComputer Training
Reply With Quote
  #25 (permalink)  
Old 03-15-09, 05:13 PM
rookers rookers is offline
New Member
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by ChaoticAura View Post
“I just saw my life flash before my eyes and all I could see was a close tag…”
This one made me smile
Reply With Quote
  #26 (permalink)  
Old 03-17-09, 06:11 PM
cooljulie cooljulie is offline
New Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Julie Viola View Post
Sorry guys... I missed the theme of this thread coz i was laughing at it when i saw it. I am very sorry.. my apologies..

here's another one..
Programming is like sex:
One mistake and you have to support it for the rest of your life.
Great one..
Reply With Quote
  #27 (permalink)  
Old 03-20-09, 12:28 AM
Spider7's Avatar
Spider7 Spider7 is offline
Newbie Coder
 
Join Date: Mar 2009
Location: California
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by phpdoctor View Post
Two strings walk into a bar and sit down. The bartender says, “So what’ll it be?”

The first string says, “I think I’ll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcu”

“Please excuse my friend,” the second string says, “He isn’t null-terminated.”

The strings have confused managers and java programmers alike
Reply With Quote
  #28 (permalink)  
Old 03-27-09, 04:56 PM
Alexious Alexious is offline
Newbie Coder
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
haha, funny ones
Reply With Quote
  #29 (permalink)  
Old 04-14-09, 02:36 AM
rebecca16 rebecca16 is offline
Newbie Coder
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
here is a good one i found on net

No, Windows is not a virus. Here's what viruses do:

1. They replicate quickly. ... Okay, Windows does that.

2. Viruses use up valuable system resources, slowing down the system as they do so. ... Okay, Windows does that.

3. Viruses will, from time to time, trash your hard disk. ... Okay, Windows does that too.

4. Viruses are usually carried, unknown to the user, along with valuable programs and systems. ... Sigh.. Windows does that, too.

5. Viruses will occasionally make the user suspect their system is too slow (see 2) and the user will buy new hardware. ... Yup, Windows does that, too.

Until now it seems Windows is a virus but there are fundamental differences: Viruses are well supported by their authors, are running on most systems, their program code is fast, compact and efficient and they tend to become more sophisticated as they mature.

So Windows is not a virus. ... It's a bug.
Reply With Quote
  #30 (permalink)  
Old 04-16-09, 07:03 PM
Julie Viola Julie Viola is offline
Newbie Coder
 
Join Date: Dec 2008
Location: Canada
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
So windows is a Virus! LOL! That's a Good One! The operating mus be too good


Julie Viola
__________________
Julie ViolaComputer Training

Last edited by Julie Viola; 04-16-09 at 07:04 PM. Reason: grammar
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Articles Submission MrDiaz General Advertisements 2 04-15-10 10:16 AM
Joining tables and fetch_assoc user1001 PHP 1 10-30-08 05:03 PM
Good rates for Graphic/Web design and PHP programming fivepointdesignstudio_com Job Offers & Assistance 0 03-04-06 02:41 AM
Good php webiste system?? gardar PHP 9 01-01-05 02:27 PM
I am totally new to PHP / MySQL / Programming in General. Where is a good place...... laxy_m PHP 4 09-29-04 10:22 AM


All times are GMT -5. The time now is 03:15 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.