Saturday, July 31, 2010

Re: [android-developers] Re: Android preprocessor, //#ifdef...

Here is a long thread on the subject:
http://groups.google.com/group/android-developers/browse_thread/thread/1c9078176b172e1a/235bae6530ee7e74?show_docid=235bae6530ee7e74

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment