RE: Hello everyone
April 9, 2010 at 6:14 pm
(This post was last modified: April 9, 2010 at 6:20 pm by cppman.)
(April 9, 2010 at 3:33 pm)Tiberius Wrote: 1) You can actually compile it down to byte-code, but that isn't the point of Java. Java is meant to run on any platformJava compiles to its own byte-code, not the byte-code of the host machine. It can run on any platform which Java is compiled for. And don't forget that the Java compiler was written in C/C++. Therefore, any platform Java exists on, so can C++ (aside from the fact that some mobile devices have licensing issues).
(April 9, 2010 at 3:33 pm)Tiberius Wrote: 2) You can create methods with non camel-case if you so wish. The syntax is similar to that of C++ anyway.I'm referring to the built-in libraries. Yeah, Java itself has the same syntax as C, C++, C#, etc.
(April 9, 2010 at 3:33 pm)Tiberius Wrote: 3) That is a good thing.Not in my opinion. Operator overloading is a very useful (and powerful) feature in C++ and C#.
(April 9, 2010 at 3:33 pm)Tiberius Wrote: 4) Everything in Java is an object since it's an object oriented language from the bottom up. The == operator by default compares the two objects (s it should). With Strings, you can use the equals() method to compare the values. I don't see how this is any different from strcmp()?"strcmp" is C, though it could still be used in C++. C++ strings (from the STL) overload the '==' operator for string comparison. So does C#, and it is Object-Oriented from the bottom up. Rarely does someone want to compare the underlying pointer of a reference. They want to compare the value. Hence, Java should have implemented a "referenceEquals" (or similar) method and made the "==" a value-equality operator like every other language. In the cases where a "value" can't exactly be determined (or shouldn't be), the "==" can fall back on the "referenceEquals" method.
(April 9, 2010 at 3:33 pm)Tiberius Wrote: 5) NetBeans is an epic IDE!!! What's wrong with it?I'm too used to Visual Studio (the most amazing IDE ever), so I suppose that gives me a lesser view of NetBeans.
(April 9, 2010 at 3:33 pm)Tiberius Wrote: 6) I have no idea what you are talking about. Anyway, the operation of a corporation doesn't have any bearing on how good the language is...A long time ago Microsoft distributed it's own Java virtual machine with Windows. Sun decided to sue Microsoft, and then Microsoft was forced to stop distributing it. Because of that, Microsoft developed .NET which became extremely popular. (I bet Sun is wishing they never forced Microsoft into that direction right now...)
And you're right about the quality of the language having nothing to do with this. But with all my other reasons, this is just something that adds to it. Same thing with Apple. Along with my other reasons, I cannot stand the company itself.
But all that aside, I'm a low-level programmer (ASM, C, C++) so naturally it is hard for me to like any high level language (C# excluded), or any interpreted language for that matter. Just personal opinion I guess.