I object to the fact the people who write Java are real programmers...
Sorry, couldn't help myself, likely should hit send, oh well.
On 8/3/2010 1:30 AM, Frank Weiss wrote:
This thread is a little like schadenfreude to me. A lot of it is about
taste - of which arguing about is of little use. I just saw some Java
code where every closing brace is commented with "// end of if", "//
end of for", "// end of method", etc. Yech!. That, to me, is worth
arguing about!
If the OP wants to use preprocessor, nothing's stopping them. Indeed,
as Bob Kearns points out, Android SDK generates R.java from several
XML files, which is pretty darn close to what a preprocessor does.
Would it be that hard for the determined developer to add a
preprocessor hook into the SDK build script - even on Eclipse? Come on
folks, this is open source code! Even Atlassian lets you modify the
Jira and Confluence source code!
My $0.02 is that even if javac did have a preprocessor, few "real"
Java programmers would deign to use it. Nonetheless, I'm sure there
are a few cases where a preprocessor is Just The Right Way To Program.
--
Leigh McRae
www.lonedwarfgames.com
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en