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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a9b0810d3106d9b8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!v16g2000vbq.googlegroups.com!not-for-mail From: "George P." Newsgroups: comp.lang.ada Subject: Re: Fun with C Date: Mon, 18 Apr 2011 20:00:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <56cd5131-0ebe-40d3-ad97-3f6d0cc43977@v16g2000vbq.googlegroups.com> References: <27cf3992-4132-4483-9110-adc7a089cd4a@e8g2000vbz.googlegroups.com> <54108d8d-4e7c-4901-bd5e-819d27720d48@a11g2000pro.googlegroups.com> <4daa8fc6$0$7652$9b4e6d93@newsspool1.arcor-online.net> <37428a21-61b4-4cdf-9897-7b84252f8fce@a11g2000pro.googlegroups.com> <08279ed8-61de-414e-a53c-996bc0ae2ba9@f31g2000pri.googlegroups.com> <2693b280-bbe2-45ea-8355-e96ccbc381f9@a26g2000vbo.googlegroups.com> NNTP-Posting-Host: 108.3.157.162 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1303182058 8098 127.0.0.1 (19 Apr 2011 03:00:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 19 Apr 2011 03:00:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v16g2000vbq.googlegroups.com; posting-host=108.3.157.162; posting-account=VnNb3AoAAACTpRtCcTrcjmPX7cs92k1Q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; Tablet PC 2.0; .NET4.0C; .NET4.0E; BRI/1; BRI/2),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:19857 Date: 2011-04-18T20:00:57-07:00 List-Id: On Apr 18, 10:06=A0pm, Elias Salom=E3o Helou Neto wrote: > On Apr 18, 10:22=A0pm, "George P." wrote: > > > > > > > > Oh really? So C is the language of cyborgs that never have bad days, > > never argue with their girlfriends and never go late night drinking? > > And sure none of such people should be allowed to design embedded > > systems :-) > > No, not cyborgs, it is the language of nerds. They don't drink and > about girlfriends, you've gotta be kidding! Also all of their days are > bad, so they're used to it. > :-) > > Now, seriously, what I meant is that bashing C without knowing the > basics doesn't make anyone look smart. It is quite the opposite. And I > repeat, whining is not the way to go here. Yes, C is dangerous, unsafe > and difficult to master, but let us be men and use it well if > required. > > I believe making assumptions about language behavior is danger. There > are historical reasons why C is the way it is. Some of them were > wrong, now we know, but it won't change - mainly because of the huge > codebase. So, let's have fun with C, why not? I have fun with C, C++, > TeX, Lisp, Pascal, Matlab, etc. Right now I am trying to find time to > study Ada - more fun! I am sure I will share you guys' view about how > Ada is good and safe, but it is really unlikely that I am going to > become such a sissy and fill this newsgroups with foolish complaints. > > And as a side note, even sober, I have recently written a heavily > templated C++ ray tracer which I instantiated with unsigneds as > indices and signeds as difference types. There was a mixed expression > that gave me some trouble, and I do understand the problem people > mention in this thread. What I do not understand is how people can > show pride in not knowing the language! And I can't see me whining > that much because of something that won't (because it can't) change - > the C language.- Hide quoted text - > > - Show quoted text - I thought you was the first accusing incompetence here. I respect your talents in mastering so many languages, but for many of us languages are just tools to solve problems. Thinking of the problem is hard enough. Thus, combing throuh code trying to figure out what compiler will do is just ectra distruction. I understand very well that C is sort of F1 racing car. It's all good, but if you are in freight business investing in F1 car is of questionable value (except for promotion). For those of us who is in commercial application development cost/value becomes of importance. What we are getting in costs? Special bread of coders, lengthy development cycle (you admitted yourself your excapade with templates), possibility of having sleeping bugs. Now what will be the value? 10-20% performance? Sometime we are forced to use languages by hardware vendors... G.