I work on some projects of mine, i do them in C. Now i used to be quite fond of C, but ever since working with C and especialy with Cstdlib i start to hate it. Its so damn ugly. Worst of all is i dont know how to make it better! Naming variables pisses me of and dont get me started on structs and types. I hate int and char and all that shit, it makes me so sick! The ugly form of the program also suck, returns and ifs combined look so ugly.
>>5
you don't have to name variables, like with stack
int var[9000];
fuckWith(var);
Name:
Anonymous2010-11-29 19:02
int s [9000], p;
dup () {s [p] = s [p - 1]; p ++;}
push(int v) {s [p ++] = v;}
pop () {return s [p--];}
add () {push (pop () + pop ());}
sub () {push (pop () - pop ());}
mul () {push (pop () * pop ());}
div () {push (pop () / pop ());}
main ()
{push (1); push (2); add (); push (3); mul ();
printf("%d\n", pop ());}
Name:
Anonymous2010-11-29 19:03
>>1
I think BitCing about it is the best thing to do.
Name:
Anonymous2010-11-29 19:42
>>1
>I hate int and char and all that shit
I'm guessing you only prefer scripting languages. >>3
You should probably stick to them too because you look like a complete fool trying to do C.