Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   The evolution of a programmer (http://www.go4expert.com/forums/evolution-programmer-t22797/)

Scripting 23Jul2010 13:16

The evolution of a programmer
 
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.

Scripting 23Jul2010 13:17

Re: The evolution of a programmer
 
Goood joke, isnt it?

shabbir 23Jul2010 13:38

Re: The evolution of a programmer
 
Quote:

Originally Posted by Scripting (Post 70640)
Goood joke, isnt it?

Yes true.

techgeek.in 23Jul2010 14:44

Re: The evolution of a programmer
 
nice one...

Scripting 23Jul2010 15:48

Re: The evolution of a programmer
 
All credits go to me.

Scripting 22Dec2010 02:51

Re: The evolution of a programmer
 
Thx

Kyuuqsoft 15Feb2011 20:06

Re: The evolution of a programmer
 
wow, look it that go, good.


All times are GMT +5.5. The time now is 00:14.