Whether Is it possible in java to use macros?
Printable View
Whether Is it possible in java to use macros?
Can you explain exactly what you mean by 'macros'? How would you use them? What would you like macros to do for you?
Programming is an explanatory activity...
R. Harper
If you're referring to #define replacement macro's as in C++, you won't find these in other languages. The main reason for this is that they can make code impossible to read since they effectively allow you to re-design the language syntax on the fly.