4 ms·
>I wonder what all those reflection libraries are about.... Libraries exist for everything under the sun for C++. Doesn't mean anything. C++ always prefers sta
by PopsiclePete 12y ago
>I wonder what all those reflection libraries are about....
Libraries exist for everything under the sun for C++. Doesn't mean anything. C++ always prefers static dispatch vs dynamic. It's in every single C++ book/article ever written. C++'s RTTI system is extremely gimped and pahetic, exactly for that reason - it's a "limited, rarely-to-be-used" functionality by design.
In Ojb-C, it's opposite. Asking an object what methods it has at runtime, is a very common pattern. Something at which the seasoned C++ programmer screeches in horror and hides in the corner.
>I hope you never get to write Mac OS X drivers then...
Completely irrelevant. Of course drivers are written in C/C++ (a limited sub-set of C++). How many people write OS X drivers? Are you even listening to yourself? 99% of people do not write drivers, they write user-land applications, and the lingua franca for OSX/IOS is Obj-C.
You fail to prove any points. Try harder next time.