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


Good Programming Jokes?

Reply
  #61 (permalink)  
Old 10-26-10, 08:15 AM
Ethan HuntFL Ethan HuntFL is offline
New Member
 
Join Date: Oct 2010
Posts: 2
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
lolllzzzz the best one !!! good creativity
Reply With Quote
  #62 (permalink)  
Old 10-29-10, 09:19 PM
qiangtoucao qiangtoucao is offline
New Member
 
Join Date: Oct 2010
Posts: 2
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

Last edited by Nico; 12-03-10 at 02:56 AM.
Reply With Quote
  #63 (permalink)  
Old 10-29-10, 09:34 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
One day there was a lead person in the QA department.
When a new employee was hired and made lead.
The current lead was de-lead-ed (deleted?).
__________________
Jerry Broughton
Reply With Quote
  #64 (permalink)  
Old 12-02-10, 11:13 PM
luckysophie's Avatar
luckysophie luckysophie is offline
Wannabe Coder
 
Join Date: Nov 2010
Location: London
Posts: 107
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by !Unreal View Post
Not really a programming one but its all good.

All my girlfriends names have ended in jpg.
Haha, so funny. Interesting topic!
__________________
My Favorite Tools:
flash banner | logo maker
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.