Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Most C programmers are faggots

Name: Anonymous 2012-01-29 19:36

I'm getting really irritated at a lot of self proclaimed C programmers for abusing the fuck out structures and pointers. It's easy to get out of hand and make your code look like shit and it seems people want to do it even when it's not necessary. The problem is even a lot of legitimately experienced C programmers do the same shit. Go look at the source to your favorite software written in C.

A good example is that stupid dubs checker thread that faggot just made. It should be written like this


#include <stdio.h>

#define base 10

int check(int i, int b) {
  return(i%b == (i/b)%b);
}

int main(void) {
  int i = 1;
 
  while(i++ < 100)
    if(check(i, base))
      puts("nice dubs bro");
     
  return(0);
}

Name: Anonymous 2012-01-29 19:44

Haskell programmer detected

Name: Anonymous 2012-01-29 19:48

return isn't a function
while isn't a function
if isn't a function.

Name: Anonymous 2012-01-29 19:49

>>3
No one implied it is. Go back to your toy languages.

Name: Anonymous 2012-01-29 19:51

Name: Anonymous 2012-01-29 19:52

>>4
The code implies that it is, read K&R you stupid piece of shit.

Name: Anonymous 2012-01-29 19:53

>>5
The Plan9 one is shit and the GNU one is good, tell me something that I don't know.

Name: Anonymous 2012-01-29 19:54

>>6
I've read my K&R you worthless piece of shit. Please post the passages from K&R that say the lack of a space between return, if, and while with its' parenthesis make it a function call.

Name: Anonymous 2012-01-29 20:01

>>8
Listen you dumb piece of crap, do I have to tell you what you have read? Are you seriously too fucking dumb to understand basic English? Do you even know what "imply" means? Go review basic education you fucking moron, your code sucks by the way, so you better rethink your life choices because you're never going to be a successful programmer. Now fuck off you fucking retard, your posts are worthless.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List