3 ms·
You can do closures, namespaces, mixins, etc in all of those languages (C++, C, Java). Some of them involve libraries, but the fact that people are engineering
by catch23 17y ago
You can do closures, namespaces, mixins, etc in all of those languages (C++, C, Java). Some of them involve libraries, but the fact that people are engineering libraries to do those things means there is actually a need for those things in the enterprise community. I'd say C++ probably has all of those at the expense of uglier looking code. Java has a wealth of libraries that provide feature support for most of those too... I've done mixins & meta-programming at "enterprise level" jobs using Java before (Barclay's Bank), but the code is much more verbose and uglier than languages that support it natively.
My guess is that you haven't actually done enterprise-level jobs using those languages before, otherwise you probably would have seen many of those standard techniques used in the so-called "blub" languages of C, C++, and Java, even if the language didn't provide the feature natively.