PDA

View Full Version : IDEA: Redo a common program in a creative way



ygfperson
08-12-2002, 11:09 PM
Take an old idea, and write it in a new way, like a recursive counting function

doubleanti
08-15-2002, 11:51 AM
we should make a really really cool Hello World program!!! :)

ygfperson
08-15-2002, 04:39 PM
can you go into detail?

doubleanti
08-15-2002, 09:35 PM
we could have people judge it... [more qualified judges than in FD imho... perhaps the mods would judge...] in various categories... we should make it as portable with a standard [basic] gfx api, stuff like that...

Fordy
08-16-2002, 01:40 AM
Hmm....I got an idea for this...

Point of clarity - When you say creatative, does that mean just about anything goes as long as the result is as per a common program's output?

ygfperson
08-16-2002, 08:38 AM
prelude first suggested this idea, and she named someone's recursive counting program as an example.

ie:


int main () { int x; x = count(6); }
int count (int x) {
if (x == 0) return 1;
else { printf("%d",x); return x-1; }


}

hmm... that's not as elegant as i would like
but do you see my point? perhaps prelude can venture over and clarify things... :D