From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 21:22:21 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Subject: Re: Subtle Bugs, kudos Ada (was How Ada ...Red Code ...) Date: 23 Aug 2001 03:17:35 GMT Organization: Oklahoma State University Message-ID: <9m1skf$8q81@news.cis.okstate.edu> References: <3B6555ED.9B0B0420@sneakemail.com> <87n15lxzzv.fsf@deneb.enyo.de> <3B672322.B5EA1B66@home.com> <4a885870.0108112341.7ce02ac0@posting.google.com> <3B834E5D.B0D26AB1@adaworks.com> <9lvsic$bet9s$1@ID-9852.news.dfncis.de> <9m0193$grs$1@bird.wu-wien.ac.at> <3B83F042.4CFB073D@home.com> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e52a0.dhcp.okstate.edu User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:12303 comp.lang.c:76311 comp.lang.c++:85042 Date: 2001-08-23T03:17:35+00:00 List-Id: On Wed, 22 Aug 2001 20:34:27 GMT, Kaz Kylheku wrote: > So we could say a number of things besides ``sox is written in the > wrong programming language''. Go ahead, blame the programmer. But don't forget that this is a real program, in real use. The real world is not going to give you nice friendly programs. Several months ago, Linux Weekly News pointed out a email to linux-kernel showing stupid bugs in the Linux kernel; stuff like a = b++ + b++, and other undefined stuff. But, still, if that blows up in the programmer's face, it's his fault, isn't it. > If this function is submitted for critique to comp.lang.c, the errors > in it will be shaken out in an instant, and a maximally portable version > will soon appear that will work on C implementations with unusual sizes > of integral types, CHAR_BIT other than 8, and sign-magnitude or ones' > complement representations for negative numbers. Try it! Cool. Should I upload the entire Linux kernel in one post, or should I break it into two or three? Yeah, a group of experts can pound a short piece of code into near perfection in a short period of time, irrespective of language. The question is how can Joe Random programmer turn out the largest amount of code in the shortest time with the fewest bugs? > If I ported the essence of the algorithm to Common Lisp (for instance), > then it will just work. With the restriction of being able to output the music to speakers in real-time on a 486 or Pentium? -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I don't care if Bill personally has my name and reads my email and laughs at me. In fact, I'd be rather honored." - Joseph_Greg