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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,344faf475a6f812a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.137.71 with SMTP id qg7mr1743909pbb.5.1366702552197; Tue, 23 Apr 2013 00:35:52 -0700 (PDT) Path: bp1ni410pbd.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns. References: <97967083-d21d-4de2-aeb8-76d0d5818993@googlegroups.com> <1b3buvosg9fcq$.z1uq1tdfril2$.dlg@40tude.net> Date: Tue, 23 Apr 2013 03:35:48 -0400 Message-ID: <85a9opaecr.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:b80J/YtTQFx/3RFzVYw6OEqfxR0= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 0f379517639d8c7c1c72732317 X-Received-Bytes: 2592 Content-Type: text/plain Date: 2013-04-23T03:35:48-04:00 List-Id: Shark8 writes: > Here's some output: >From what compiler version, on what OS, on what CPU? >> 4. Keywords to be written all lower case, if you want others be able to >> read your code. > > ... and here I thought we had these nifty tools for formatting > source-code according to the user's preference. Way off base. This is a volunteer group, and there _is_ a common style of lowercase for reserved words. Yes, a pretty printer could rewrite your code, but that's an extra step; every impediment between me and understanding your code makes it a little less likely I will bother. You could just as easily take that step, and save everyone else the effort. Consider that part of the cost of deciding to not follow the common style. Being polite to the people you are asking to help you is only common sense. > It is not my fault > these aren't well-integrated into your IDE/text-editor. Emacs Ada mode does not support that particular rewrite; no one has asked for it! I'd have to use gnatpp on the command line. Which I've _never_ had to resort to before for code posted in this newsgroup. On the other hand, since Emacs Ada mode is an open source all-volunteer effort, it _is_ your fault for not contributing support for gnatpp to it, since you seem to feel it is important! >-- IOW, if > casing mattered I'd expect it to be enforced by the language. There is a big difference between language rules and style rules; it's time to learn that. Ada is case-insensitive for well established software engineering reasons, and styles exist for equally well established reasons. They are both required for successful projects; they work together. -- -- Stephe