Xref: csiph.com comp.arch:33263 Newsgroups: comp.arch Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!usenet.stanford.edu!kithrup.com!mrs From: mrs@kithrup.com (Mike Stump) Subject: Re: The freedom that give us C++ and C Message-ID: Date: Fri, 29 Jan 2016 03:24:52 GMT References: <2016Jan27.183750@mips.complang.tuwien.ac.at> <2016Jan28.161620@mips.complang.tuwien.ac.at> Organization: Kithrup Enterprises, Ld. X-Newsreader: trn 4.0-test77 (Sep 1, 2010) In article <2016Jan28.161620@mips.complang.tuwien.ac.at>, Anton Ertl wrote: >As I said: You like blame the programmer! And the nice thing (for >compiler writers) about the nasal demon interpretation of C is that >you can always blame the programmer. So, to reason without insight, is the height of stupidity. The insight which you lack, is that the code contained bugs, and those bugs led directly to ssh being buggy. The compiler doesn't not remove bugs from users code, that is a misconception on your part on what a compiler is, and what a compiler does. The most advanced compilers can only try and help the programmer with their buggy code and in some cases can even fix the code for the user (clang, fix-it hints). This is pretty rare, and only works in the most trivial of cases. Over time, it will get better, but, it is wrong to blame the compiler for causing the user to write buggy code. The blame for writing buggy code falls on the programmer. Welcome to programming.