Thou shalt have no other gods before the ANSI C standard 1537
I saw a web page by a well-respected professor today (not one of the ones participating in this forum, AFAIK), on which he had a programming buttignment, in which he was recommending the use of something like:
int I; int hashvalue = 0;
Thou shalt have no other gods before the ANSI C standard 1538
Ok, as there have been a lot of responses, I've tried to collect them all in one place. Interesting how much attention four lines of code can receive. According to Randy Howard: edited to use...
hashvalue = (hashvalue + stringI) % TBLSIZE;
How many things can you find to comment about in those few lines?
Now this guy has authored 50+ refereed conference papers, a dozen or so journal articles, 3 books, and a host of other unrefereed reports and papers, as well as he holds a BS, MS and PhD. He also heads up an important research lab in a respected CS program.
The problem is not one of CV line items, it is that everyone can make mistakes, and the number of framed pieces of paper on the wall does not make you immune from them. Some of these people seem to think that they are immune to criticism (constructive or otherwise) and they are the really dangerous ones.
They generate clbuttes of new grads every year, many of which have to be taught *basics* on the job, instead of specifics for a particular project and untaught some very bad habits.
-- Randy Howard (2reply remove FOOBAR) "Making it hard to do stupid things often makes it hard to do smart ones too." -- Andrew Koenig
Alt Folklore Computers Newsgroups