• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Herbert the Tiger Tamer!

 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Herb...

It's great to have you here! I was lucky enough to get a preliminary copy of your generics chapter although unfortunately I wasn't able to get comments back in time because of family commitments. Obviously, generics are a huge part of Tiger as you gave it a very big chapter.

But what is the one change in Tiger (assuming there is one) that you think is being undervalued? Is there something there that programmers should be more interested in but is being missed?
 
Thomas Paul
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, what is your least favorite change in Tiger?
 
Author
Posts: 253
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Thomas!

Thanks for looking over the preliminary version of my Generics chapter. I was sorry that our publication schedule and your family commitments conflicted. But, I am sure that there will be other opportunities!

As to your questions. In terms of language features proper, I think that programmers will be surprised by how much autoboxing/unboxing simplifies many aspects of Java coding. Of course, everyone recongizes that autoboxing/unboxing is a major new feature, but what surprised me was how quickly (and naturally) I began to rely on it. I think that many skeptics will be pleasantly surprised, too.

Of course, if we include the libraries, then there are several areas that are interesting, but a bit under-reported. For example, support for 32-bit Unicode code points, the new concurrent packages, and the Stringbuilder class, to mention a few.

As to least favorite. I don't really have one. However, I suppose that of the major additions, static import is the one that I tend to use the least. It is wonderful to have this feature, but I personally don't often have a reason to use it.
 
Thomas Paul
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!!!
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

static import is the one that I tend to use the least.



My opinion is "Static imports should not have been added to Java".
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree. This makes more ambigious to the programs.

Nick
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Metadata (Annotations)
This language feature lets you avoid writing boilerplate code under many circumstances by enabling tools to generate it from annotations in the source code. This leads to a "declarative" programming style where the programmer says what should be done and tools emit the code to do it. Also it eliminates the need for maintaining "side files" that must be kept up to date with changes in source files. Instead the information can be maintained in the source file. Refer to JSR 175.



I'm confusing about Annotation .. When to use Annotation ? How to use ?

 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by somkiat puisungnoen:


I'm confusing about Annotation .. When to use Annotation ? How to use ?



Mr.Herbert said in one thread that annotation will be useful for developement tools... As you might see in the paragraph about the annotation, it leads to declarative programming style... It can help us to get to know about the current source file, instead of making seperate file to put info about the current source file... "Self-contained metadata" might be the reasonable word to talk about it...
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thak you,

And Now i reading Annotation Topic from

http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-tiger3.html


I think, This is good tutorial...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic