Back to the Vavoom Forum Archives


Macros in Vavoom

Sat, 16 Jun 2007 09:08:02

Crimson Wizard

Well, my question is, why vcc supports macroses no more? I mean not common preprocessor defines, but those used for code substitution - like #define MACRO VALUE
Sat, 16 Jun 2007 13:18:13

Janis Legzdinsh

Mostly because macros cannot be exported to the final package so to use them in another package you have to include corresponding source file, which is very ugly. Also they don't fit well in the full object-oriented language like VavoomC. After all there's a reason why you don't have them in Java and .NET.

Back to the Vavoom Forum Archives