by RazO
30 replies
Whats better?
#java
  • Profile picture of the author RazO
    For making desktop apps and server side apps btw. Thank you!
    {{ DiscussionBoard.errors[6520895].message }}
  • Profile picture of the author wayfarer
    It depends on what your goal is. C# generally only works on Windows under .NET, while Java is cross platform. If you're committed to only developing for Windows, C# is the way to go. Otherwise, Java has its own benefits, and can be used for either desktop, server apps, or embedded browser apps, though browser apps are less popular these days. Also, Java is what is used for making most Android apps, which is a huge benefit.

    It just depends on what you want to do.
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[6521159].message }}
  • Profile picture of the author RichBeck
    Originally Posted by RazO View Post

    Whats better?
    It depends.....

    Java programming language is, in theory, cross platform... But, Java is not standardized... Oracle is in complete control...

    The C# programming language is an ECMA standard... Plus, C# compiled with Mono runs on many operating sytems....... From their web site....
    Cross Platform - Mono is built to be cross platform. Mono runs on Linux, Microsoft Windows, Mac OS X, BSD, and Sun Solaris, Nintendo Wii, Sony PlayStation 3, Apple iPhone. It also runs on x86, x86-64, IA64, PowerPC, SPARC (32), ARM, Alpha, s390, s390x (32 and 64 bits) and more. Developing your application with Mono allows you to run on nearly any computer in existance (details).
    They both have VERY similar capabilities.... It comes down to personal preference..... I prefer C#.......

    God Bless,

    Rich Beck
    {{ DiscussionBoard.errors[6521815].message }}
    • Profile picture of the author wayfarer
      Originally Posted by RichBeck View Post

      ... But, Java is not standardized... Oracle is in complete control...
      True, that is definitely one of the downsides. Although, Google has proven you can basically copy the language and port it onto another platform (Android, with the Dalvik Virtual Machine, which Oracle has no control over). And they did so without losing a lawsuit, so far. So although there's not an ECMA standard, there's basically a standard, created by Sun, and part of it is even open source.
      Signature
      I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
      {{ DiscussionBoard.errors[6524502].message }}
  • Profile picture of the author rising_sun
    Banned
    C#,though I am a java fan.I have taken the decision after working with both java & C#.For designing a web page C# is too fast but for the web service java is secured.With .net frame work C# is pretty good.
    {{ DiscussionBoard.errors[6525680].message }}
  • Profile picture of the author John Ayling
    I would recommend C# for it's speed of development - don't worry about cross platform issues, as specialization is key in this game. No point trying to accomodate everyone.
    Signature
    Software Marketing & Licensing System for WordPress Plugins, Themes & .NET Software
    >> 72 Hour Special <<
    {{ DiscussionBoard.errors[6527260].message }}
  • Profile picture of the author purpleviolet
    I would recommend C# . I agree with all the above warriors and also recommend this so that with just additional plugins you can develop mobile applications and deploy on windows mobile.
    {{ DiscussionBoard.errors[6529403].message }}
    • Profile picture of the author burton247
      Unis seem to always teach Java, and to be honest it makes sense. It's cross platform (Windows, OSx, Linux, BSD) and it's multi-purpose (desktop, server, mobile) and it has a load of libraries that will do most of the ground work for you.

      However, I don't think it is that widely used server side now, I think the UIs it creates aren't that nice and the fact that there is an Oracle, Sun and "Open Source" virutal machine is just confusing. (I had issues installing the ADT for Eclipse because I had the open version and not Suns, it shouldn't have mattered but it did for some reason). I use Java for Android development but that's about it.

      I like C#, as people have said it can run on different platforms with the use of mono. It will run natively on Windows anyway and the popular Linux distros are starting to ship with mono by default so that's a bonus.

      Neither is "better" though. They are both good languages and they both do more or less the same thing (C# probably slightly more). If you are looking to learn one it doesn't really matter which. Once you know one switching to the other later down the line will be simple as they are very similar.
      {{ DiscussionBoard.errors[6536463].message }}
  • Profile picture of the author James Andy
    I think Java because it is a programming language which specifically designed for use in the distributed atmosphere of the Internet and it allows you to play online games, chat with people around the world and view images in 3D.
    {{ DiscussionBoard.errors[6539420].message }}
    • Profile picture of the author wayfarer
      Originally Posted by James Andy View Post

      I think Java because it is a programming language which specifically designed for use in the distributed atmosphere of the Internet
      Yes, it was designed for that, but it ultimately failed in its designed purpose. Other technologies (like JavaScript) turned out to be a lot easier to use for the (client side) internet. Also, Flash displaced a huge portion of Java applets, because it is fast enough for the web, and its underlying programming language, Actionscript, is easier to use than Java.

      Java is not a complete loss, however. It has found its way on desktop, servers, and to a certain extent, mobile, depending on how you view things.
      Signature
      I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
      {{ DiscussionBoard.errors[6540535].message }}
  • Profile picture of the author annife polak
    I would recomment c sharp for desktop apps, otherwise use Java.
    {{ DiscussionBoard.errors[6541597].message }}
    • Profile picture of the author sjaguar13
      Originally Posted by annife polak View Post

      I would recomment c sharp for desktop apps, otherwise use Java.
      I agree with this.
      {{ DiscussionBoard.errors[7191819].message }}
  • Profile picture of the author tarunsarien5
    According to me Java is the best as compare C#.because C# generally use on Windows under .NET, while Java is cross platform.
    {{ DiscussionBoard.errors[6542873].message }}
    • Profile picture of the author play4aces
      We had to make this choice a year ago as the basis for the products we are developing now.
      We went for C# and Window Presentation Foundation. No regrets there. Very powerful this XAML. If you like this with Java you would have to use eFace.
      {{ DiscussionBoard.errors[6548827].message }}
  • Profile picture of the author rising_sun
    Banned
    Obviously C#,because it is too fast then java,on the other hand it is good at web service and application.
    {{ DiscussionBoard.errors[6569839].message }}
    • Profile picture of the author wayfarer
      Originally Posted by rising_sun View Post

      Obviously C#,because it is too fast then java,on the other hand it is good at web service and application.
      Actually, this is absurd and incorrect. I don't advocate either language specifically, but C# is definitely not faster than Java. For a Windows UI under .NET it could be faster than Java, but on everything else, Java beats it hands down when measuring with benchmarks. Do some research before you just spout half-truths.
      Signature
      I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
      {{ DiscussionBoard.errors[6574408].message }}
  • Profile picture of the author floramerlin
    sure java programming is better than C#
    {{ DiscussionBoard.errors[6574372].message }}
  • Profile picture of the author whiteboy
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[6582455].message }}
    • Profile picture of the author wayfarer
      Originally Posted by whiteboy View Post

      In my opinion C# is better than Java because is faster and has a better IDE. C# has a brighter future!
      Show me one benchmark that proves that C# is faster than Java. Just one. I bet you can't find any. I can show you several that show Java is faster. Whether this proves anything or not I don't know. Whether C# has a "brighter future" also could be a matter of considerable debate. It wouldn't be hard to make the case that the Android platform has a bigger future than Windows does, though who knows, really? Some people think Android is the "next Windows", and they could be right!
      Signature
      I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
      {{ DiscussionBoard.errors[6582782].message }}
  • Profile picture of the author diklon
    Both are programming languages but java is not support multiple platforms c# is multiple platforms support languages. I prefer c#
    {{ DiscussionBoard.errors[6595251].message }}
  • Profile picture of the author jaasmit
    I think java would be better but it totally depends on you which one you like most and with which one you feel comfortable.
    {{ DiscussionBoard.errors[6596079].message }}
  • Profile picture of the author YemTv
    i think Java better.
    Signature
    CBDISCOUNTS - Clickbank Discounted Marketplace
    Magic Article Rewriter - SAVE $24 OFF!
    {{ DiscussionBoard.errors[6596973].message }}
  • Profile picture of the author ace0195
    If your developing only for Windows I recommend C#, otherwise Java of course.
    {{ DiscussionBoard.errors[6598068].message }}
    • Profile picture of the author dexlink
      Originally Posted by ace0195 View Post

      If your developing only for Windows I recommend C#, otherwise Java of course.
      Yes... I do agree with you but for system performance java is a little bit ahead.
      {{ DiscussionBoard.errors[7208282].message }}
  • Profile picture of the author Redwyn88
    Wow, that's a broad question. As far as the languages themselves go they're pretty similar in functionality and feel. Will agree with most others on the thread, though I personally prefer C# / .NET by a long shot you're best off going with Java if cross-platform desktop apps is a primary goal. For web based stuff I'd probably go C# / .NET (between these 2 options anyways), the ASP.NET MVC framework is nice.
    {{ DiscussionBoard.errors[6598790].message }}
  • Profile picture of the author thelearningman
    It depends upon how they're used. For fat clients, .NET/C# is the way to go provided that you are only interested in working on the Window's OS. For web and enterprise applications, Java is the better approach. In fact, Java is used on many of today's systems from dvd players, to the Android OS and to many back end systems.
    {{ DiscussionBoard.errors[6603685].message }}
  • Profile picture of the author pipercraig
    JAVA is always better than c# for desktop application.JAVA is more secure and user freindly language ever.
    {{ DiscussionBoard.errors[7189862].message }}
  • Profile picture of the author Girin Jackson
    Both language have it's own ability, But i prefer java more than C#.
    Signature

    {{ DiscussionBoard.errors[7196432].message }}
    • Profile picture of the author dexlink
      Originally Posted by Girin Jackson View Post

      Both language have it's own ability, But i prefer java more than C#.
      yes... you are right and java has the special ability of garbage collection.
      {{ DiscussionBoard.errors[7208293].message }}
  • Profile picture of the author blenyo
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[7208268].message }}
    • Profile picture of the author dexlink
      Originally Posted by blenyo View Post

      C# is better
      It's better in case of web based programming.
      {{ DiscussionBoard.errors[7208286].message }}
  • Profile picture of the author gowthamgutha
    There is very much to talk about the differences between C# and Java. Choosing it depends upon your need. While both of them are OOP languages, there are lot of variations to talk about. Since Java is first introduced, now under the control of Oracle Corporation, getting good and rapid development for developing any kind of applications with ease and less complexity and more security, Java is obviously the friendly language to the developers and also worthy language to the end-users.
    {{ DiscussionBoard.errors[7256823].message }}

Trending Topics