GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Nicola Girardi
Subject: Standards.text
Date: 13 Jul 2001, 23:47:23

Hi Russ,

> 1. Table of Contents is at wrong end.

I don't have clues how to tell `makeinfo' to put it where it
belongs. I noticed now that there's the same problem in the HTML
version, caused again by `makeinfo'. Any suggestion?

> 2. Suggest changing " aString: String " to " S: String "

Not really. First of all, according the the GPCS (short for GNU
Pascal Coding Standards) "S: String" should be "s: String". (Of
course nobody can force anyone to apply the GPCS, they are just
advice.) Secondly, "aString" is the result of a rule we haven't yet
defined. It's the only one which hasn't been defined yet. If you
grep for "FIXME" you'll find just one instance of it and you can
read what it's about. I'll save you the grep which is hard for a
printed copy. :-))

: In object oriented code (especially often in constructors), there is
: often the need to have a parameter correspond to an object field
: (e.g., to pass a value with which to initialize the field).  Since
: both can't be called the same, the field should have the ``natural''
: name since it's usually used in more routines, and the parameter
: name should be ``mangled''.  FIXME: We haven't found a really
: satisfactory rule for mangling yet (some use ``a'' as a prefix), and
: if you have any good idea, let us know.
>    You have 2 lines that are 100 cols in length.

I fixed those lines. I also tried to solve the problem for the lines
of code by choosing another appropriate example from the GPC sources
which doesn't need such long lines.

Thanks,

Nick

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach Standards.text 14 Jul 2001, 13:32:36
Nicola Girardi Standards.text 14 Jul 2001, 15:08:08

In reply to

Author Subject Date
Russ Whitaker Standards.text 13 Jul 2001, 14:05:44

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).