comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns.
Date: Tue, 23 Apr 2013 03:35:48 -0400
Date: 2013-04-23T03:35:48-04:00	[thread overview]
Message-ID: <85a9opaecr.fsf@stephe-leake.org> (raw)
In-Reply-To: e0c67da2-159a-4a37-b199-1d80312f6aca@googlegroups.com

Shark8 <onewingedshark@gmail.com> 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



  parent reply	other threads:[~2013-04-23  7:35 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 18:27 Interresting difference in Normal-Returns/Expression-Functions and Extended-Returns Shark8
2013-04-22 19:13 ` Dmitry A. Kazakov
2013-04-22 20:11   ` Shark8
2013-04-23  6:15     ` Simon Wright
2013-04-23  7:35     ` Stephen Leake [this message]
2013-04-23  8:58     ` Dmitry A. Kazakov
2013-05-02  2:20     ` Randy Brukardt
2013-05-02  4:41       ` Shark8
2013-04-23  6:32 ` egilhh
2013-04-23 15:24   ` Adam Beneschan
2013-04-24  5:56     ` egilhh
2013-04-24 14:40       ` Adam Beneschan
2013-04-25  5:30         ` egilhh
2013-04-25  5:41           ` Shark8
2013-04-23 16:00 ` Adam Beneschan
2013-04-23 16:52   ` Simon Wright
2013-04-23 17:57     ` Adam Beneschan
2013-04-25  8:48       ` egilhh
2013-04-25 15:19         ` Adam Beneschan
2013-05-02  2:33         ` Randy Brukardt
2013-05-02  2:38       ` Randy Brukardt
2013-05-02 16:15         ` Adam Beneschan
2013-05-02 22:00           ` Randy Brukardt
2013-05-03  1:11         ` Adam Beneschan
2013-05-03  5:34           ` Simon Wright
2013-05-03  6:43           ` egilhh
2013-05-03 16:49             ` Adam Beneschan
2013-05-03 23:09           ` Randy Brukardt
2013-04-23 23:00     ` Shark8
2013-04-23 23:16       ` Adam Beneschan
2013-05-02  2:28   ` Randy Brukardt
2013-05-02 16:37     ` Adam Beneschan
2013-04-23 16:33 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox