File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Why?  Why?  Why? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Why?  Why?  Why?" Watch "Why?  Why?  Why?" New topic
Author

Why? Why? Why?

Mike Gershman
Ranch Hand

Joined: Mar 13, 2004
Posts: 1272
I read several questons like this
http://www.coderanch.com/t/398166/java/java/interface-Another-Complete-Reference about why certain Java language features are what they are and I recall that the authors of some other languages have published explanations for their design decisions.

Has James Gosling or Sun published such information?


Mike Gershman
SCJP 1.4, SCWCD in process
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm not aware of anything comprehensive. Some of the drivers were to run in small embedded devices and to use a C-like syntax to ease the transition from C to Java and to make life easier on the developer than C++ did. They were probably aware that the ease of writing compilers helped spread C (like a bad internet hoax you might believe) so they kept things easy for themselves, too.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
the JLS explains a lot and so do the API docs. Problem is that many people never bother to read it (or anything really) and just shoot off questions when they find something doesn't work in Java like it does in some other language.

After all, Java looks similar to C++ so everything that works in C++ should work right?


42
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
Problem is that many people never bother to read it (or anything really) and just shoot off questions when they find something doesn't work in Java like it does in some other language.


I bet that at least a quarter of the questions in the Java forums (fora?) would never have been asked if the user had bothered to read the APIs and Sun's documentation.


Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why? Why? Why?