11 ms·
I heard about Objective-C before C++. The big complaint I remember about Objective-C was that it had a very different syntax for the O-O parts. When C++ came al
by cicero 15y ago
I heard about Objective-C before C++. The big complaint I remember about Objective-C was that it had a very different syntax for the O-O parts. When C++ came along, it was seen as having O-O more integrated into the C language. Also, I think Borland's Turbo C++ was a big boost for the language, which probably led to Microsoft adopting C++ rather than Objective-C. Also, I think the strong type checking and fast polymorphic dispatch were attractive features.
Another thing to remember is that compilers were expensive back then. You couldn't just download a language from the web and try it out. Trying a new language mean an investment of several hundred dollars, and so you tended to just stick with your first choice. Turbo C++ was probably the first O-O language available for less than $100, so that became many people's introduction to O-O.
I found C++ to be complex and difficult, but I thought that was just the price to pay for O-O. Later, when I learned Smalltalk, I realized that was not necessarily the case.