CompuServe Messages

Pascal or C++ ?

    16-Jan-93 20:24:54
Sb: #43908-Pascal or C++ ?
Fm: Bert Put 100026,175
To: Tom Moran 71541,3125
Hi Tom, Hmm, OK. I stand (sit!) corrected. I certainly agree that the more "fiddly" the project is, the more "low-level" your language has to be to cope with it. I'm sure you already know that the more "low-level" your language is, the more responsibility is bestowed on the programmer to clean up his act. In assembly, you have to deal with the management of the hardware itself; registers, memory, etc. The slightest slip-up and the best you can expect is an infinite loop, the worst is a system crash. With C, the compiler does more work for you and you get to be a little more abstract with your coding – but not so abstract that you lose sight of what the computer is doing "behind the scenes". With Pascal, the compiler does lots more work for you, and any low-level stuff is almost impossible without resorting to assembly in-line code, or linking other modules written in other languages. However, David's original message asked about the difference between Pascal and C++ – and being a Paradox programmer who does not expect to use the new ^O go amigaclmforum