Pat Farrell wrote:I just ran into another of the bad parts. Compare the format strings/encodings in java.util.Formatter
to java.text.DateFormat. Why are the meanings of the same character different? Formatter uses capital Y for a four digit year, and a lower case y for a two digit year. DateFormat uses lower case y for both. There is no way to memorize which is which. Sigh.
Pat Farrell wrote:Don't let Mr Waldo hear this, but I don't believe you can become highly efficient and effective in any tool by reading a book or article. I believe that the only way is to work in a group with serious code reviews and a mentor that really knows how to do it. Sit at the feet of a great teacher.
One might be able to become really good working solo after many years, depending on your motivation and effort. But by then Java will be replaced by some other cool language.
jamal elbaa wrote:we are not always need to ask questions but also to criticize.
I find this way of learning Java is not longer used as most people learn it directly without going through C.
note: sory for my bad english
prabal nandi wrote:Thanks a lot Jim for the explaination.. Another question related to same.
When 2 objects extending same class (method codes are shared) are accessing same method; how will JVM decide the service? Because we haven't explicitly declared the method as synchronized.
Gabor Liptak wrote:So your book doesn't cover the proposed (and accepted) new Java7 features?
Pat Farrell wrote:
I strongly disagree with the honorable gentleman's claim that Java is a viable candidate to be your last language. I sure hope it is not. If the naming convention was not spoiled by experience with other languages, I might believe that a Java++ or SonOfJava could fulfill that role, but I don't see Java doing it. As much as I'd love to, we have to look at all of java, not just "the good parts".
Maybe if you are approaching retirement, you could claim that Java was a last language. I've been in this business close to 40 years, and I've used at least 20 languages professionally. Each rode into town claiming that it was finally the silver bullet. As Fred Brooks wrote, there is no silver bullet. I don't know what language I'll be using to write software in five years. I expect that it will not be Java.