But Karlos, any Turing complete language can express another language. The original C++ compiler compiled into C code and yet it brought something new to the table, no? Hrm, right, there are plenty of C coders who disagree with that ("C can do OO just swell thank you, but OO is shite anyways")
Expressing C++ generics in C, without some hideous macro orgy (let's not forget, the preprocessor is not actually C) might test that theory in practise.
Anyway, my point was that JS already supports OO and Reflection, which are two paradigms that Objective-C supports as a language that you might want to exploit. As per your suggestion, "C with classes" brought a convenient OO syntax to C with support for classes, hierarchy and polymorphism. You can of course write object-oriented code in C, but the language syntax does not strictly support it or make it particularly convenient to write. The same claim can't be made for Obj-J; it doesn't bring any new paradigms to JS or make the existing ones easier to use (that could be subjective of course, some people don't like the prototype OO implementation of JS. Personally I'm sort of ambivalent about it). But you certainly don't need to do it to make host APIs easier to interface with.
Well then, let's try a different example! In the end, compiled languages usually come out in the form of cryptic assembly code, and certainly everyone can agree that being able to write in a high-level language is a welcome improvm....Oh right...This is the Amiga forum wherein this very thread there is talk of writing a text adventure in assembly...
Hmmm, what was my point again? :lol:
That pancakes rock
