Subj : Re: Is well written code a rare species ? To : comp.programming From : Scott Moore Date : Fri Aug 12 2005 03:35 pm Charles Richmond wrote: > IMO you have omitted one reason: really *bad* programmers. I took over > some code from a guy who was fired, and it was the worst I have ever > seen. Sections of code that should have been made functions...were just > copied over into the program when needed. In C, the word TRUE is typically > defined as 1 and FALSE defined as 0. This guy made FALSE an integer variable, > and changed the value a few times in the code. Worst of all, the code > was all over the place, with *no* consistent indentation even attempted. > > I had to toss out his code and write the application over. In so doing, > I found that when the original programmer did *not* understand how to > handle certain inputs, he would just ignore those inputs. > > So be sure and add "bad programmers" to your list of problems. > I know that guy. He's a highly paid manager now :-) .