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,751d508677a5add1 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!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Date: Wed, 30 Jun 2010 19:42:20 -0400 From: "Peter C. Chapin" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: [Ada] made me hate programming References: <8f469661-370c-4484-82d8-f1b365455e0f@w12g2000yqj.googlegroups.com> <98aa58b3-50fc-418d-9f72-524b5a23c89d@t10g2000yqg.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4c2bd5e5$0$2366$4d3efbfe@news.sover.net> Organization: SoVerNet (sover.net) NNTP-Posting-Host: 6d38a17b.news.sover.net X-Trace: DXC==R22YkQQcD]aTW?f1gG?hTK6_LM2JZB_S6Td3Ma?dEg^:WUUlR<856_?ElA@ZV1bK[a34NVjBY<2S X-Complaints-To: abuse@sover.net Xref: g2news1.google.com comp.lang.ada:12065 Date: 2010-06-30T19:42:20-04:00 List-Id: On 2010-06-30 13:05, Warren wrote: > They barely even read the error messages and simply > take in the one fact "error in line x". Not which kind of > error or any level of detail. They simply want to know the > quick answer for "getting past the error". They don't want > to know why it is an error, so long as they can "fix it", > and fix it now ("my assignment is due"). In otherwords, > the compiler is holding them back. My students are often like this as well. In fact, I notice they hardly ever read any error messages regardless of the source. If an error message box pops up in some application many of my students will dismiss it at once automatically. It's almost like a reflex action. If they are in the process of asking me for help the conversation goes something like this: Me: "So what did that error message say?" Student: "I have no idea." Me: "You should probably at least read those messages before saying you are stuck." It can be frustrating. All that said, I do think that many novice programmer's find compiler error messages baffling and largely unhelpful. The part that says "error on line xx" they understand. The part that says something like, "no suitable subprograms found to resolve yyy. Candidates are..." can be hard for a complete beginner to digest. They don't really understand what the message means so they look at line xx and hope for a flash of insight. Obviously as an educator it's my role to help them learn what such messages mean, but it takes time and it isn't always easy. I will say GNAT has rather good error messages overall. I have had more than one student tell me that he/she found GNAT error messages better than "any other compiler I've used" (meaning g++). Peter