R
red floyd
Just shows that you know nothing about COBOL
Did you not see the smiley?
Did you not see the smiley?
Jussi said:Malcolm wrote:
Is it possible to code anything without the concept of pointers?
Francis said:To the best of my knowledge Cobol has no pointers and Cobol programmers
have no need of the concept (indeed many of them find the idea of a
pointer quite bizarre)
Francis Glassborow said:I wish it were that simple. A great deal of bad C has been written by
those who learnt Pascal as their first language. There is a lot to be
said for NOT protecting students from the consequences of lack of
understanding.
John W. Kennedy said:Well, IBM mainframe COBOL has long included some semi-documented pointer
functions intended for use with CICS.
COBOL 2003 includes OO, and, consequently, references.
Just shows that you know nothing about COBOL
Did you not see the smiley?
But as Pascal is a "safe" language you can't write bad Pascal.... the
compiler won't let you
There are still far to many people who think that with some languages if
it compiler it must be "good".
I agree that protecting students with a "safe" language makes matters a
lot worse as they rely on the compiler for error checking and safety.
I recall seeing OO Cobol around 1995 though I don't know if it had
pointers/references then.
In comp.lang.c J French said:There is a lot to be said for strong type checking, it shows up stupid
errors rapidly
Agreed.
So you drive a car with dodgy brakes, no airbags and no seat belts ?
There is a lot to be said for strong type checking, it shows up stupid
errors rapidly
Gawd, I remember having to write my own call parameter checking
utility
J French said:You mean if the code compiles it must be good ?
So you drive a car with dodgy brakes, no airbags and no seat belts ?
There is a lot to be said for strong type checking, it shows up stupid
errors rapidly
Chris Hills said:J French said:[...]I agree that protecting students with a "safe" language makes matters a
lot worse as they rely on the compiler for error checking and safety.
So you drive a car with dodgy brakes, no airbags and no seat belts ?
Not the same thing at all. Also in many cases you turn OFF the airbags
and don't use seat belts. Though you always want working breaks.
I hope that's just an overstretched metaphor. If you're actually
talking about driving, I don't know if it's even possible to turn off
the airbags,
Keith Thompson said:
It is, at least in some cars. Often this will result in the tripping of a
warning light on your dashboard.
Keith Thompson said:It is, at least in some cars. Often this will result in the tripping of a
warning light on your dashboard.
[OT]
Turning off of airbags is recommended in some circumstances, mostly
having to do with having low-mass or fragile people in the front
Richard said:Keith Thompson said:
It is, at least in some cars. Often this will result in the tripping
of a warning light on your dashboard.
Richard Heathfield wrote:
Really? I don't believe that's the case in the US. In fact, most repair
places will refuse to install switches, as they are concerned about
liability.
Walter said:Richard Heathfield wrote:Really? I don't believe that's the case in the US. In fact, most
repair places will refuse to install switches, as they are
concerned about liability.
[OT]
Really. Here's how to find an official description of the rules.
So you drive a car with dodgy brakes, no airbags and no seat belts ?
Keith said:Chris Hills said:[...]
I agree that protecting students with a "safe" language makes matters a
lot worse as they rely on the compiler for error checking and safety.
So you drive a car with dodgy brakes, no airbags and no seat belts ?
Not the same thing at all. Also in many cases you turn OFF the airbags
and don't use seat belts. Though you always want working breaks.
I hope that's just an overstretched metaphor. If you're actually
talking about driving, I don't know if it's even possible to turn off
the airbags, and I *always* wear my seatbelt and insist that my
passengers do likewise. I might consider turning off the airbags in a
dire emergence if it made the car go faster, but of course it doesn't.
Getting back to programming, yes, it's often possible to disable
checks for faster performance. Whether it's a good idea is another
matter.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.