Newsgroups: comp.lang.fortran, comp.lang.pl1, comp.lang.cobol
From: "Pete Dashwood" <dashw...@removethis.enternet.co.nz>
Date: Mon, 30 Jul 2012 12:14:05 +1200
Local: Sun, Jul 29 2012 8:14 pm
Subject: Re: Reserved Words
Richard Maine wrote:I take your point. Existing code MIGHT contain something which has now
> Pete Dashwood <dashw...@removethis.enternet.co.nz> wrote:
>> Robin Vowels wrote:
>>> When new keywords are introduced into the language, reserved words
>> If you use a proper Editor with Intellisense (Visual Studio/Eclipse
> That might be so for limitted values of "never". It won't help the
become a reserved word.
But the first time you compile it, it will fail and that should prompt you
>Even if theYes, regression testing is costly (not to mention tedious and time
> editor might help you find the problems in such code, revising large
> codes can be a major problem in environments where any revision
> necessitates revalidation. (In one project I worked on, revalidating
> the flight software costs about a million dollars).
>If one works onlyRobin, I have worked in such environments. One site I worked on had a COBOL
> on programs that are of "modest" size and on which you are freely
> allowed to do global edits, one is likely to have trouble
> appreciating the environments where it is a big deal.
codebase of 60 million LOC (spread around 14 countries, but maintained from
one location). At the peak of our COBOL usage, PRIMA's Codebase was still
well under a million lines (today it is around 20,000 and decreasing), so
please don't think I don't understand the implications.
How "big a deal" it is will be determined by the site culture and approach.
I would want a Data Dictionary implemented on such a site and I would want
>Sure, it isAgreed.
> easy enough for one's own personal programs. I've done it with some
> of mine just because I preferred to avoid the confusion of a name
> conflict with a newly added intrinsic, even though my code could have
> continued working without the change. (SUM is certainly a variable
> name I used to use fairly often; there are others as well.)
Now consider it from the point of view of the compiler writer.
If there are NO reserved words how would you implement a language?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.