The evolution of a programmer

Scripting's Avatar, Join Date: Jun 2010
John Hoder
Joke of 90's

High school / Jr. High
10 PRINT "HELLO WORLD"
20 END

First year in collage
program Hello(input, output);
begin
writeln ('Hello world');
end

Senior year in collage
(defun hello
(print
(cons 'HELLO (list 'WORLD))))

New professional
#include <stdio.h>
main (argc,argv)
int argc;
char **argv; {
printf ("Hello World!\n");
}

Seasoned pro
#include <stream.h>
const int MAXLEN = 80;
class outstring;
class outstring {
private:
int size;
char str[MAXLEN];
public:
outstring() { size = 0; }
~outstring() { size = 0; }
void print();
void assign(char *chrs);
};
void outstring::print() {
int i;
for (i = 0; i < size; i++)
cout << str[];
cout << "\n";
}
void outstring::assign(char *chrs) {
int i;
for (i = 0; chrs[i] != '\0'; i++)
str[i] = chrs[i];
size = i;
}
main (int argc, char **argv) {
outstring string;
string.assign("Hello World!");
string.print();
}

Manager
/* George, I need a program to output a string "Hello World!" */


Don't forget THX.
0
Scripting's Avatar, Join Date: Jun 2010
John Hoder
Goood joke, isnt it?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by Scripting View Post
Goood joke, isnt it?
Yes true.
0
techgeek.in's Avatar, Join Date: Dec 2009
Skilled contributor
nice one...
0
Scripting's Avatar, Join Date: Jun 2010
John Hoder
All credits go to me.
0
Scripting's Avatar, Join Date: Jun 2010
John Hoder
Thx
0
Kyuuqsoft's Avatar, Join Date: Feb 2011
Light Poster
wow, look it that go, good.