Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Comparing and contrasting the languages between the two can be quite difficult, as in many ways it is the associated libraries that you use in association with the language that best showcases the various advantages of one of another.</p> <p>So I'll try to list out as many things I can remember or that have already been posted and note who I think has the advantage:</p> <ol> <li>GUI development (thick or thin). C# combined with .NET is currently the better choice.</li> <li>Automated data source binding. C# has a strong lead with LINQ, also a wealth of 3rd part libraries also gives the edge</li> <li>SQL connections. Java </li> <li>Auto-boxing. Both languages provide it, but C# Properties provides a better design for it in regards to setters and getters</li> <li>Annotation/Attributes. C# attributes are a stronger and clear implementation</li> <li>Memory management - Java VM in all the testing I have done is far superior to CLR</li> <li>Garbage collection - Java is another clear winner here. Unmanaged code with the C#/.NET framework makes this a nightmare, especially when working with GUI's.</li> <li>Generics - I believe the two languages are basically tied here... I've seen good points showing either side being better. My gut feeling is that Java is better, but nothing logic to base it on. Also I've used C# generics ALLOT and Java generics only a few times...</li> <li>Enumerations. Java all the way, C# implementation is borked as far as I'm concerned.</li> <li>XML - Toss up here. The XML and serialization capabilities you get with .NET natively beats what you get with eclipse/Java out of the box. But there are lots of libraries for both products to help with XML... I've tried a few and was never really happy with any of them. I've stuck with native C# XML combined with some custom libraries I made on my own and I'm used to it, so hard to give this a far comparison at this point...</li> <li>IDE - Eclipse is better than Visual Studio for non-GUI work. So Java wins for non-GUI and Visual Studio wins for GUI...</li> </ol> <p>Those are all the items I can't think off for the moment... I'm sure you can literally pick hundreds of items to compare and contrasting the two. Hopefully this lists is a cross section of the more commonly used features...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload