There are Java projects that use various preprocessors. The lack of a
standard one is a problem. AFAIK Sun's WORA ideology ran against the
need for a preprocessor, although many developers think that mobile
platforms have taken a big bite out of WORA. Modern software
development methodologies, such as refactoring to patterns, tend to
use other approaches for making software flexible and reusable.
Personally, I'm glad Java does not have a preprocessor. It just seems
a much cleaner language that way, that is, I have never yet seen Java
code with ifdefs. But I can understand that it can be very useful
under certain circumstances.
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to
For more options, visit this group at