none
IS C# better than JAVA? RRS feed

  • Question

  • hi folk,
    I am fan of Microsoft Products and I love .NET.
    Yesterday,I have a presentation in the University and i was supposed to give a brief introduction of .NET and C# and the advantages of C# from Java.
    In the class, there were some guys that they too work with c# but abuse it.I need a legal documentation that would proof that C# is better than Java.
    It is Obvious that,When A language is generated after a previous language,it should be better.So Now plz give me documentation on this topic(If you believe what i believe)
    Thanks
    Thursday, March 6, 2008 6:00 AM

Answers

  • Hi,

     

    There a number of strong similarities and some differences in the features and libraries of the C# and Java. So the best it to describe C# from a Java developer's perspective Smile

     

    Some resources to help you out

     

    http://www.25hoursaday.com/CsharpVsJava.html

     

    http://www.suite101.com/article.cfm/c_sharp/92073

     

     

    HTH,
    Suprotim Agarwal

    -----
    http://www.dotnetcurry.com
    http://www.sqlservercurry.com
    -----

    Thursday, March 6, 2008 6:21 AM
  • I dont think one is better than other. 

    I use both .NET/C# and JEE technologies pretty much every day...

     

    Here is how I keep things in mind...

    .NET is microsoft technology and is properitary.  So it is one tech stack, one vendor.  There are advantages like dont have to worry about if this framework library would work with another framework library.  As you may know, many EAI vendors print money just to bridge gaps between one vendor's implementation of JEE with another vendor's JEE...

    The same is disadvantage as well...  for eg: any improvements has to come only from Microsoft.  ADO.NET for entities has been there in Java world and mature for atlest 3-4 years (Hibernate/iBatis, etc.,)...

    If you design and implement the right solution instead of picking the technology stack first (unless that is part of your requirement that you need to be on a particulat stack) most of the modern OO languages meets the need.

    Thursday, March 6, 2008 4:02 PM
  •  

    Hmmm... MY view is that a lot of the goodness of C# is taken from other successful languages, such as C++, Delphi, VB and Java. 

     

    They are very similar to each other, although I think Java is probably a little more strict than C# in terms of pure OO.

     

    I think that the benefits to consider are flexibility, and support.  Consider which language would be easier to support.  It certainly seems to me that Java developers these days are in shorter supply than they have been in the past.  That might be to do with the benefits of .NET platform over Java, or it might be marketing.

     

    Since you don't have to go down the path of using .NET to do C# either, there's a persuasive argument that C# is very similar to Java in that respect too.

     

    Personally, I like C#, but I don't necessarily think that it's 'better' than Java, possibly only more accessible, more mainstream these days?

     

    Good luck with that presentation.  Personally I would much like to have to make that call myself!

     

    Martin Platt.

    Thursday, March 6, 2008 11:03 PM

All replies

  • Hi,

     

    There a number of strong similarities and some differences in the features and libraries of the C# and Java. So the best it to describe C# from a Java developer's perspective Smile

     

    Some resources to help you out

     

    http://www.25hoursaday.com/CsharpVsJava.html

     

    http://www.suite101.com/article.cfm/c_sharp/92073

     

     

    HTH,
    Suprotim Agarwal

    -----
    http://www.dotnetcurry.com
    http://www.sqlservercurry.com
    -----

    Thursday, March 6, 2008 6:21 AM
  •  

    The latest language enhancements like LINQ scores much above Java.
    Thursday, March 6, 2008 7:04 AM
  • thanks Suprotim ,You helped a lot.
    I have another question:
    One of the guys said that QT is jus like .NET and provide you with everything c# do.
    I think he was wrong.Actually i am not familier with QT in Linux.could you tell me more about QT and is it only for Linux and is it just like c#.Thanks
    Thursday, March 6, 2008 9:50 AM
  • I dont think one is better than other. 

    I use both .NET/C# and JEE technologies pretty much every day...

     

    Here is how I keep things in mind...

    .NET is microsoft technology and is properitary.  So it is one tech stack, one vendor.  There are advantages like dont have to worry about if this framework library would work with another framework library.  As you may know, many EAI vendors print money just to bridge gaps between one vendor's implementation of JEE with another vendor's JEE...

    The same is disadvantage as well...  for eg: any improvements has to come only from Microsoft.  ADO.NET for entities has been there in Java world and mature for atlest 3-4 years (Hibernate/iBatis, etc.,)...

    If you design and implement the right solution instead of picking the technology stack first (unless that is part of your requirement that you need to be on a particulat stack) most of the modern OO languages meets the need.

    Thursday, March 6, 2008 4:02 PM
  • I don't agree, .net is not a Microsoft properitary technology, take a look at Mono. Plus the question is c# vs java not the .net framework vs J2E or something.

    I doubt very much that there is a clear advantage, the nice thing about c# is that it *does* produce .net that can be used by developers using other languages, but again we're back to discussing .net again.


    Thursday, March 6, 2008 9:34 PM
  •  

    Hmmm... MY view is that a lot of the goodness of C# is taken from other successful languages, such as C++, Delphi, VB and Java. 

     

    They are very similar to each other, although I think Java is probably a little more strict than C# in terms of pure OO.

     

    I think that the benefits to consider are flexibility, and support.  Consider which language would be easier to support.  It certainly seems to me that Java developers these days are in shorter supply than they have been in the past.  That might be to do with the benefits of .NET platform over Java, or it might be marketing.

     

    Since you don't have to go down the path of using .NET to do C# either, there's a persuasive argument that C# is very similar to Java in that respect too.

     

    Personally, I like C#, but I don't necessarily think that it's 'better' than Java, possibly only more accessible, more mainstream these days?

     

    Good luck with that presentation.  Personally I would much like to have to make that call myself!

     

    Martin Platt.

    Thursday, March 6, 2008 11:03 PM
  • If we have to compare C# vs Java, by default you have to start thinking in terms of .NET and JEE as well.  Because you write a commercial C# application with .NET framework just like you use Java with JEE.

     

    For full disclosure, on my home I do my personal stuff on C#/.NET because I like the language flexibility and features offered by C#.  But when it comes to enterprise development, JEE leads the pack just because of the large open source following in Java world that comes up with so many rich frameworks.

     

    For eg:, AJAX was made popular by java based commercial applications like gmail, google maps, and ajax libraries in JEE even though the basic foundation came from Microsoft Internet explorer's feature of introducing xmlhttprequest object.

     

    As I stated earlier, when I make decisions to pick a teck stack it is based on the need, not the other way round...

     

    But if you want to get a kick out of pissing java developers, send them this link http://searchsoa.techtarget.com/news/article/0,289142,sid26_gci1207506,00.html?Offer=WSintsoajava83

    where independent analysts burton group and zapthink predicts JEE will be dead in the foot of ruby...

    Friday, March 7, 2008 3:07 AM