Less than a year ago I wanted to learn Android and I started to make an application. I know java/eclipse long, but not like other of you, as the language in which most have been deepened is C/C++. But I always been a thing I've been missing, and it is the lack in the (language || IDE || Framework) , of not having a preprocessor as the M4 that C/C++ has.
To include similar directives as these.
- #DEFINE foo
- #IFDEF foo
- #IFNDEF foo
- #ENDIF
So that we avoid some code on the package. Or resources.
- Do you know any way/s to incorporate this feature in Android with Java or Eclipse or NetBeans or IntelliJ IDEA or Android Studio or plugin?.
- If you know several, in your opinion, What would be the best?.
Please, that this post does not turn into a war of which is the best solution, there's no accounting for taste.