Click to See Complete Forum and Search --> : Java or C#


ketanco
10-25-2008, 10:13 PM
Hi,

Can someone tell me the differences between Java and C#? I know only html css php and mysql just above beginner level and nothing else...I did my webpage to a certain point with these four, but to make better and more advanced things, which programming language should I learn use? I can not give you examples about an objective, right now there is no definite specific thing I would like to complete, but just asking in general. Which is more advanced for instance, Java or C#, can anyone make a comparison with pros and cons please. Thanks

Stephen Philbin
10-26-2008, 07:35 AM
I have no knowledge of C#, but I'm lovin' Java at the moment. I recently picked up Java and, with the aid of the Netbeans IDE, found it a breeze to get into.

The only advantage that I know for certain that Java has over C# is that it's highly portable. You can build something in Java and run it on many different operating systems. It's actually the reason I picked up Java in the first place. I don't use a Windows operating system, but I didn't want to limit myself to distributing on just my operating system. I wanted to be able to give software to people on Windows (and as many other operating systems as possible) too.

starheartbeam
10-27-2008, 03:03 PM
This can be hard to pick what one is the best because Java and C# are alot alike. The syntax is not that different. Each technology has its own tools, philosophy and approach in development. If you pick Java you are in the open-source world with oracle, linux, portability,ect. and that is totally different then if you go to the .NET and Microsoft Technologies. It is not really the languages that are different it is the technology behind the language.

I have used both and I find that you can do most stuff with Java for free (Apache Organization) and more open. You might have to pay for different things to use with C# becaue it was developed by Microsoft. Not saying that there is not open-source stuff for .NET because there is.

For Java and webpages I really like using JSP and servlets. You can do a lot. Works nicely with HTML pages. But C# can do that also. Being the C# is .NET it has a lot of drag and drop to go with it. This makes people say that C# is faster but it all really depends on you.
It is really more of what you want to use and what you like best.

Keep in mind that C# is Windows and can be a bother when you are trying to us different environments. Java can be used for Mac, Windows, Linux without having to recompile or do anything different.

This pdf file talks about pros and cons and different things about the languages. Comparing C++, Java and C# (www.joyofprogramming.com/Doc_Presentations/ComparingC++JavaAndCSharp.pdf)

This site talks about the things alike about them and different about them.
http://www.javaworld.com/javaworld/jw-11-2000/jw-1122-csharp1.html

And this site has people talking about what they think is better. You can go and see what they have to say about each one.
Which is better C# or Java? (http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=59&t=001750)

I would say to read up on both of them and find the one that works the best for you!
After all what one person likes another person might hate.
I hope this helps! :)