|
|||||||||
Home >> All >> [ docs overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
docs
Class WhyJava

java.lang.Objectdocs.WhyJava
- public class WhyJava
- extends java.lang.Object
Why have I chosen to write this project in Java?.
Why Java?: In chosing a language for any project there will always be some trade-offs. Java has big plus points in three areas:
- Trendyness: Being trendy means that there are XML libraries, Script libraries, etc for it far earlier than anything else, and the implementations of these are better than anywhere else. C and C++ compete, languages like VB and Delphi are not even close.
- Portability: Java is close to being automatically portable between systems, and the effort to get 100% portability is low. C and C++ require a lot of effort to make portable. VB and Delphi are not even close.
- Ease of Use: Java is a very easy to use language - it encourages good programming style. Delphi is as good, VB and C++ can be as good, but it is not automatic - you can make a real mess in either very easily.
The bad news is that Java falls down in a number of areas:
- Performance: C and C++ are faster than Delphi and VB, and Java is probably a close last. I don't see this as a huge problem. Computers are for ever getting faster. When was the last time your Pentium II, was seriously CPU locked? Pentium II sound too up to date? By the end of the year when I hope this project will be doing useful stuff you will probably not be able to by them any more they will be so out of date. Yes, people have old 486s. There are other Bible programs in appealing to yesterdays technology.
- GUI Creation: Both VB and Delphi do drag and drop GUI building better. That is not to say Java GUIs are less functional - on the contrary, show me a multiple look and feel GUI in VB or Delphi, just that it is harder work getting there.
Prof. Moore told us a long time ago that the computing world advances quite quickly, and it is surprising how quickly some people forget it.
Writing a new OS only for the 386 in 1991 gets you your second 'F' for this term.
- Prof. Andrew S. Tanenbaum (author of Minix), to the student Linus Torvalds (author of Linux)
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
Constructor Summary | |
WhyJava()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
WhyJava
public WhyJava()
|
|||||||||
Home >> All >> [ docs overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |