Messages in this thread | | | Date | Wed, 20 Jun 2001 15:05:06 -0400 (EDT) | From | William T Wilson <> | Subject | Re: [OT] Threads, inelegance, and Java |
| |
On Wed, 20 Jun 2001, Aaron Lehmann wrote:
> However, the very concept of Java encourages not caring about > "performance, system-design or any elegance whatsoever". If you cared > about any of those things you would compile to native code (it exists
Native code does not help performance much and it doesn't help elegance or system design at all.
Programmers put incredible amounts of effort into design with C-related languages because they have to. If they don't their program will not work. Java makes it easy to write bad code that (mostly) works. This might mean that the average quality of Java code is not as good as it might be. But it's not a good reason not to write in Java.
Programmers that put the same amount of effort into their Java code that they would have in C/C++ will write better programs faster than they would have in C. The fact that most programmers will not do this is not the fault of the language, but the programmers.
> for a reason). Need run-anywhere support? Distribute sources instead.
Distributing source gives you run-anywhere support provided that everyone you distribute to has the same compiler that you do and that you haven't missed any platform specific endianness, word size or type definition problems, and that your program doesn't require any I/O that isn't in the standard libraries, especially graphics.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |