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-Thread: 103376,a9b0810d3106d9b8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!fu-berlin.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: Fun with C Date: Mon, 18 Apr 2011 14:20:01 -0700 Organization: Aioe.org NNTP Server Message-ID: 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> <4dab6906$0$6893$9b4e6d93@newsspool2.arcor-online.net> <57a1fa4b-4730-41a8-be8a-82061ef9dc22@x37g2000prb.googlegroups.com> <4daca6ba$0$6773$9b4e6d93@newsspool3.arcor-online.net> Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:18876 Date: 2011-04-18T14:20:01-07:00 List-Id: On 4/18/2011 2:01 PM, Georg Bauhaus wrote: > > Smart brains should not have to spend time with tackling basic > programming techniques. In any language. They should have all > their thinking capacity engaged in thinking about smart solutions. > Not in keeping track of types' implicit sizes. That's wasted effort. > (PC-lint -w 4 seems to confirm this view.) > > If mastering a relatively basic feature of a language requires > much learning, then this investment should be compared to its results. > What is the return on investment a programmer spent on implicit > type size education, say? > Exactly. the above is the main point that needs to stressed. Someone who programs in C/C++ and other weakly typed languages, can spend 5 days to find a bug, then they would feel so proud of themselves, and may be even get a raise from the boss, because they keep finding more bugs. But if they would have used a better language, a more strongly typed language, then this time would have been saved to work on the design and the algorithm itself, and think about the problem itself. May be even use the saved time to write more test cases, instead of wasted hours debugging pointers and type mismatches problems, and But then these warrior programmers would not longer feel like they are in a battle anymore when 'coding'. So programming would not be 'fun' any more. --Nasser