Clipper Programming Question:
Download Questions PDF

Why C++ used in Clipper?

Answer:

This is where I'm supposed to tell you that C++ is a great language. It isn't (at least not for my purposes). A good programming language allows you to think in the language of the problem, not the language of the computer. In C++ you keep having to return to implementational details, such as whether to use a pointer or a reference or a value, a derived class or a template. This is probably unavoidable if good performance is going to be achieved.
But the main reason is a lack of alternatives. Java is (generally) slow, and clumsy in places. Maybe Objective-C, Delphi, or even C# have solved some of these problems, but they are less portable and less widespread than C++.

Download Clipper Interview Questions And Answers PDF

Previous QuestionNext Question
Do I need CCP4?Why use references rather than pointers in the public API, particularly for arguments which are modified?