So much to say about Java except that's just talking religion.

So back to the original topic.  Sometimes just because you are adding
in debug code doesn't mean you want a performance degradation.  Java
has mechanisms for some of this but just for example, tracing.
Doesn't matter what you are tracing/tracking, if you are storing some
sort of ownership for easy of debugging, you might just want this is
production.  Especially, 1.0 products that tend to have many more
deficiencies.  Whether that fits RichardC's reasons is another story.

While not specific to Java, I've had enough failures between xml
generation, aidl, etc., that there always seems to be preprocessing of
some sort whether it got included in a language or not.

Cheers

On Aug 3, 10:10 am, Leigh McRae <leigh.mc...@lonedwarfgames.com>
wrote:
> 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 McRaewww.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

Reply via email to