Re: Proliferation of languages
- From: Peter Brooks <Peter.H.M.Brooks@xxxxxxxxx>
- Date: Thu, 13 Dec 2007 04:45:17 -0800 (PST)
On Dec 13, 1:25 pm, Mark.Wri...@xxxxxxxxxxxxx wrote:
Peter H.M.Brooks <pe...@xxxxxxxxxx> wrote:I agree completely. I wasn't trying to start a language war - there
: I think you even have object orientated
: constructs in COBOL and FORTRAN now.
Hmph...only if you are a sicko!
Fortran is a great language for number-crunching; it doesnt need all this
"object" nonsense to do that. ;-)
are plenty of those elsewhere. Just noting that, sicko or not, these
constructs do appear.
I don't think it is altogether a bad thing. I had some interesting
code to debug a couple of decades ago. A largish program had ceased to
work completely after a minor program change. It was frustrating, but
I enjoyed tracking down the problem. The problem boiled down to an
'IF' statement that didn't work any more. The strange thing was the
variable being tested didn't exist before the 'IF' statement itself
(not that easy to discover when everything is known as IXN01 and
XYNNZ3, no matter what it is). What had happened was that somebody had
added a new variable to a declaration. No harm in that, you'd think.
However, the original 'coder' (if that is the right name for such a
person) was relying on the object of the 'IF' statement being an
integer appearing just after another integer declared several pages
back. When a double was assigned to the integer the lower bits were
checked by the 'IF' statement.
You can't do that sort of terrible thing in an object orientated
language - well, as they say, 'real' programmers can write FORTRAN in
any language, so you probably can, but it takes a lot more effort.
I'm not sure about objects in COBOL, though. As we all know, COBOL was
invented so that the average businessman could jot down a couple of
pages of it and produce a new sales incentive program without any need
for training, it being just like English - I'm not sure if that
average businessman would be all that keen on objects, even if he
existed.
.
- References:
- Proliferation of languages
- From: Lance
- Re: Proliferation of languages
- From: Peter H.M.Brooks
- Re: Proliferation of languages
- From: Paul Grieg
- Re: Proliferation of languages
- From: Peter H.M.Brooks
- Re: Proliferation of languages
- From: Mark . Wright
- Proliferation of languages
- Prev by Date: Re: Proliferation of languages
- Next by Date: Re: Proliferation of languages
- Previous by thread: Re: Proliferation of languages
- Next by thread: Re: Proliferation of languages
- Index(es):
Relevant Pages
|