Miscellaneous > Programming & Networking

Java > .NET?

(1/3) > >>

anphanax:
I'm a bit curious, from experienced developers (for both Java and .NET), how they feel about the statement "Java > .NET".

.NET's System.Windows.Form namespace is pretty good, and I like the System.Drawing and System.Drawing.Drawing2D as well. Java's "swing" still seems kinda... wierd to me. Perhaps i'm just ignorant though. I will give Java credit for documenting things nicely, but I am irritated about all the different release versions of JVMs there are (where as in .NET, you just have 1.0, 1.1, and 2.0).

I've noticed Java can do things .NET can't (without using unmanaged imports), like playing Sound (I know the 2.0 framework can do this), or say talking to MIDI, instructing it to play instruments (Don't think 2.0 can do this).

Is Java capable of compiling java-code within Java like C#, VB .NET, J#, and other .NET langs are?

Java is also a lot more portable it seems (Seems better off than the mono project is, considering they have the joy of trying to get System.Windows.Forms to work on *nix).

Is it a matter of personal preference, task at hand, or is one truely better than the other?

I ask because i'm currently learning both, and .NET\Java both seem to be picking up in popularity. Sorry for all the questions.

Note:
Yes, I thought about the whole "but .NET is Microsoft" thing. I also realize that there's a "but Java is Sun Microsystems" thing. Both have Open Source implementations underway.

themacuser:
Heh personally I prefer XCode as a dev environment, you can write an app in objective-c, java or applescript...

And it uses GCC to compile. Which is really cool and really fast, especially with distributed compiling!

I'm trying to learn Objective-C at the moment.

cymon:
Me too, switch the obj-C for C++. I would take Java over .NET anyday because of it's portability. You can write and compile Java code on nearly anything. I don't see .NET on people's cellphones. Can you even write .NET in anything other than Visual Studio?

hm_murdock:
Yes.

skyman8081:
Swing is absolute dog-shit.  trufax.

Navigation

[0] Message Index

[#] Next page

Go to full version