From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-22 01:28:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsstand.cit.cornell.edu!portc01.blue.aol.com!news-east.rr.com!news01.optonline.net!news02.optonline.net.POSTED!not-for-mail From: Arthur Krewat Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Congratulations for the festive season Organization: Kilonet.net Message-ID: <3C240D29.C7F79AA2@bartek.dontspamme.net> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C1ED472.7040102@qsl.network> <9vnh67$cct$1@bob.news.rcn.net> <3C2381E4.12E053FE@bartek.dontspamme.net> <3C23B4A2.54C610CA@bartek.dontspamme.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.8 i86pc) X-Accept-Language: en Date: Sat, 22 Dec 2001 04:38:02 GMT NNTP-Posting-Host: 24.186.100.134 X-Trace: news02.optonline.net 1008995882 24.186.100.134 (Fri, 21 Dec 2001 23:38:02 EST) NNTP-Posting-Date: Fri, 21 Dec 2001 23:38:02 EST Xref: archiver1.google.com comp.os.vms:56762 alt.sys.pdp10:8605 comp.sys.dec:10136 Eric Smith wrote: > > Arthur Krewat writes: > > In some cases I have purposely removed the finger guard and still have > > all 10 fingers. I'm not stupid enough to put my fingers near the blade. > > That's exactly my point. If you sell table saws with no finger guards > to experts, they *usually* won't cut their fingers off. It will happen > occasionally. If you sell them to the vast unwashed masses, it's going > to happen frequently. So a vendor selling table saws with no finger > guards is considered to be somewhat irresponsible, even though it's the > end user that is really at fault. I don't accept the fact that programmers can be "unwashed masses". People playing with their Excel spreadsheets? Yeah, they shouldn't have to worry about optimizing their formulas. But programmers writing C code should be at a much higher level then one of the unwashed, and I expect them to write code that doesn't allow exploitation and at the very least doesn't SIGSEGV. > Similarly, you can expect that expert C programmers will usually write > appropriate bounds checking, while the unwashed masses of C programmers > will not. Guess which group writes the majority of code? Given that, > are you really willing to claim that C is not a problem? C is NOT the problem, the problem is the programmers. Either way you take it, they ARE the problem. If C is bad, use something else - they don't. > It's been known since the 1960s that there are certain classes of common > errors that programmers make, and that it is possible to design > languages such that many of them are caught at compile time. It is > really a crock that brain-damaged languages like C and C++ became the > standards in the 1980s and 1990s. I look at C like a slightly higher-level than machine code. I don't expect it to coddle me. I expect to have to work to make sure my software works right - and that's the way it should be. > Computers are supposed to be labor-saving devices. Since it is entirely > possible and even easy to design a programming language that can support > bounds checking, how can anyone maintain that it is a good idea to use > a language that can't, and thus shift that burden onto the programmer? Exactly - again, it's the programmers. They decide to use C. case closed. > Note that I'm not criticizing C when used as was originally intended, > for systems programming hosted on and targeted to small computers. But > it's completely inappropriate for modern systems. Even when developing > for small embedded systems, the development is normally hosted on > machines with plenty of memory and CPU cycles, on which using a > cross-compiler for a reasonable language is entirely feasible. What is a reasonable language? Very curious :) aak