发表时间:2004-01-30
呵呵,有问题的永远是时间。现在 Java 还能顶一阵,暂时不想换别的技术。
BTW,GNU 有一大批狠将,开发出一个企业级的业务框架 GNUe,差不多也是无所不包。
http://www.gnu.org
说实话,以前 Free Software 的中坚分子(这些老大说了,我们不是 Open Source,我们是 Free Software)是不喜欢用 Java 的。不过这种情况随着 GCJ、Eclipse 的出现已经有了很大的改善。
下面是 GNUe FAQ 中的一段:
http://www.gnu.org/software/gnue/faq.html
2.12 - Why Python? Why not Java or Perl?
If you want Java, LinuxKontor is probably a better choice for you. Because of Java's popularity, some of the GNUe team is working on a Java forms client (although it is not a priority and, therefore, is not actively maintained). We do know that Java applications can connect to a AppServer backend via Java's CORBA support. However, Java is NOT the preferred language for our clients as it has issues with its ownership. Because this is a free software project we will provide all functionality using free software. Also, at the time, Java did not have any usable widget sets -- swing was/is too slow to be used in an application setting.
Perl is another widely used, free high-level scripting language with many similarities to Python. The early developers chose Python over Perl because of Python's maintainability (clean code) and object-oriented nature. Perl does not scale well in a large project with multiple active developers. It is quite common for a developer to write a perl script and, 6 months later, not have a clue what the script was designed to do. It is commonly said that perl is better suited for smaller, one-time projects.
Other free scripting languages could have been used. However, the same arguments against Perl usually hold for these as well. Perhaps other languages would have worked just as well. The bottom line, however, is that Python was chosen early on, has a tremendous standard library, has proven itself with respect to clean code, and is well-liked by the GNUe developers, so we see no reason to change.