View Full Version : Bad code examples

02-27-2003, 04:22 AM
Just searching in the C Directory section of cprogramming for some good links and I found this one:
C Programs for simple and advanced topics (http://www.geocities.com/ctechzone/index.html)

I think this link should me removed from the cprogramming site because of the bad progrogramming examples.

#include <stdio.h>
#include <conio.h>
#include <string.h>

char word1[25];
char word2[25];


printf("\n First word : ");
/* und so weiter, and so forth */
Maybe there is a MOD who can check all these links and remove the bad ones...

02-27-2003, 05:02 AM
The directory is open to allow people to post their sites and links. I don't think censoring it would be true to it's aim. There is some undoutably bad code in there, but search google and you will find bad code as well.

To make it "acceptable" one would have to take the submisssions and inspect them before adding them, that would take a long time, AND, it would only check out what was at the link at the time the submission was made.

Routinely going through all the links would be totally impractical.

We could remove links we considered to be bad, but they could be put back there the next day.

There is a link on the directory home page to "selected links".

The directory is really under the "caveat emptor" classification.