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

Donald E. Knuth is a terrible *coder*

Name: Anonymous 2015-01-22 19:59

All his awful code looks like this:

/*:23*//*27:*/
#line 370 "cweave.w"

int names_match(p,first,l,t)
name_pointer p;
char*first;
int l;
eight_bits t;
{
if(length(p)!=l)return 0;
if(p->ilk!=t&&!(t==normal&&abnormal(p)))return 0;
return!strncmp(first,p->byte_start,l);
}

[sic]

Name: Anonymous 2015-01-22 20:03

cool thread

upboat =D

Name: Anonymous 2015-01-23 6:09

Well, it's no wonder OpenSSL is full of bugs.

Name: Anonymous 2015-01-23 6:20

It's old K&R C with an obnoxious formatting, but I don't see why you are claiming it is bad.

Name: Anonymous 2015-01-23 14:13

>>4
There are cryptic macros everywhere, that style is very difficult to read, and he didn't even indent it. This is how should be done:
int names_match(name_pointer p, char* first, int l, eight_bits t) {
if ( (length(p)!=l) || (p->ilk!=t && !(t==normal && abnormal(p))) )
return 0;
else
return !strncmp(first,p->byte_start,l);
}


Much better!

Name: Anonymous 2015-01-23 14:21

There are cryptic macros everywhere
that style is very difficult to read
and he didn't even indent it
Exactly like frozenvoid

Name: Anonymous 2015-01-23 14:58

You seem to be unable to look past syntax.

That makes you a level 0 programmer. The lowest, worst level.

Name: Anonymous 2015-01-24 2:02

>>7
Y-you too!~

Name: Anonymous 2015-01-24 2:08

Knuth = Frozenvoid
Therefore Knuth is a furry.

Name: Anonymous 2015-01-24 2:10

>>6
Are you saying FrozenVoid is on par with Knuth?
You underestimate FrozenVoid

Name: Anonymous 2015-01-24 2:15

>>10
You underestimate my dubs.

Name: Anonymous 2015-01-24 6:39

>>10
FrozenVoid is a lame javascript hack with poor C skills.
Knuth is a genius who transformed entire fields of computer science.
he just didn't bother to properly format his code, probably because he HAS MORE IMPORTANT THINGS TO DO THAN PLEASE AUTISTS ON /PROG/.

Name: Anonymous 2015-01-24 6:41

If you can't understand that code please get another hobby.

Sage.

Name: Anonymous 2015-01-24 7:19

>>13
We all see your blue name, >>13-kun, there's no need to announce your sage.

Bump.

Name: Anonymous 2015-01-24 14:22

>>13
/g/ross

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