Talk:Comparison of C Sharp and Java: Difference between revisions

Content deleted Content added
Useerup (talk | contribs)
MiszaBot I (talk | contribs)
m Robot: Archiving 2 threads (older than 90d) to Talk:Comparison of C Sharp and Java/Archive 3.
Line 16:
}}
__TOC__
 
== Simplicity vs. feature richness ==
 
Wikipedia is great for beeing _SIMPLE_ not for beeing "feature rich". This article evaluates C# as better, because it has more features, than Java. The "missing" features of Java are marked red. Diplomatically speaking, this approach is not very clever. [[Special:Contributions/193.165.212.242|193.165.212.242]] ([[User talk:193.165.212.242|talk]]) 11:54, 14 November 2011 (UTC) ([[:cs:User:Pteryx]])
 
The tone of the article makes it seem heavily biased towards C# because it has features that Java doesn't - ignoring whether Java would actually benefit from these features or not, and the fact that the vast majority of them were deliberately left out because of design principles of the language. Then lo and behold when a feature comes along that's in Java and NOT in C# (checked exceptions for instance) the article launches straight into talking about all the disadvantages of checked exceptions! And when the opposite happens, such as with LINQ, the article discusses all the positives about it.
 
This article has the potential to be good, however at the moment it's nothing more than a load of biased waffle. I use both C# and Java extensively and have no bias towards one or the other, but this page definitely does. [[Special:Contributions/86.26.141.146|86.26.141.146]] ([[User talk:86.26.141.146|talk]]) 17:31, 1 January 2012 (UTC)
 
:Once again (see below): this article compares two languages by listing their features and mentioning alternatives on the other side. Because C# has more features than Java, C# comes out as ... well, having more features. There is no bias in that whatsoever. Commenters like you keep coming here on how the article is 'biased towards' C#. I don't see any such bias. Please point it out. There definitely needs to be an opinion piece to explain to people using software that more features doesn't always equate better, but this article is not the place for that, I think. [[User:Rp|Rp]] ([[User talk:Rp|talk]]) 18:05, 3 January 2012 (UTC)
 
::<font face="Lucida Console">'''Article.isBiased() == false;'''</font> C# is simply a newer language than Java and thus has more features, because the C# programmers thought of stuff that the Java guys didn't. But that doesn't make it better. How it's ''used'' is important as well. Cheers, [[User talk:68.173.113.106|The Doctahedron]], 00:42, 24 January 2012 (UTC)
 
:I use both Java and C#. I prefer C# solely for its support of events. Now I've seen events in old Pascal code, so they aren't exactly a new concept - I know that this is just one example of a feature that Java is missing, but is it really that biased to point it out? After all, C# support on mobile phones is inexistent in most cases, and poor on Android - is there any free C# compiler for Android? This "missing feature" for C# is also pointed out in the article, along with arbitrary-length floats. Yes, Java has a lot of red boxes in that list, but that doesn't mean that the list is biased - just that Java has less features than C#. We could compare C# and Java to x86 assembly, and assembly would be almost a solid pane of red boxes - but this doesn't mean that it is worse or inferior, just that it is intended for a different purpose. [[Special:Contributions/90.194.203.69|90.194.203.69]] ([[User talk:90.194.203.69|talk]]) 12:39, 16 February 2012 (UTC)
 
::My understanding was that this is supposed to be a discussion about the semantics of the language, and that the underlying platforms were compared elsewhere. C# has language-level support for a lot of things Java doesn't, so a feature-comparison (an objective way to compare the two) will intrinsically favor C#. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/152.23.122.74|152.23.122.74]] ([[User talk:152.23.122.74|talk]]) 20:59, 2 May 2012 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
 
:I used both C# and Java after a long time with C++. I think the debiasing of the article should be done by ''explaining'' the differences of the two languages, not only enlisting them, which has been done at some places where it is written that delegates, for instance, have been deliberately left out. Like in this example, if Java is "missing" some features because it is older, this should be clearified and referenced. If a feature has been deliberately left, again, a referenced information is needed. And I propose to use a four-colour scheme so that deliberately left out features are marked with a colour different than green, yellow, or red.
:I think this discussion here shows that the article ''seems'' to be biased, but actually lacks referenced clarifications. As I used Java around two years and C# less than a year in projects, I think others with more experience would be more appropriate for the job of adding the missing information. To the experts: Please, please do not forget that you are writing for an encyclopedia. I plead to the prophets of both languages to add facts, if they are interested to add anything, and not a list of dogmas. [[User:Sae1962|Sae1962]] ([[User talk:Sae1962|talk]]) 10:25, 3 September 2012 (UTC)
 
I think that the article is no more biased. I plead to remove the marking that it is biased. [[User:Sae1962|Sae1962]] ([[User talk:Sae1962|talk]]) 15:06, 12 September 2012 (UTC)
 
:Be bold, go ahead and remove it. I do think the article still has other issues, though. Mostly structural, but there is also the pesky problem of agreeing on where the language stops and the framework begins. [[User:Useerup|Useerup]] ([[User talk:Useerup|talk]]) 19:19, 12 September 2012 (UTC)
 
== Contradiction ==
Line 59 ⟶ 36:
::I'm adding a "yes (BigDecimal class)". It's a class rather than a primitive, but it's part of standard Java. The distinction is arguably ignorable; e.g. you wouldn't say "scala has no number types at all" because they're all classes. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/94.174.207.151|94.174.207.151]] ([[User talk:94.174.207.151|talk]]) 06:09, 6 September 2012 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
:::BigDecimal was already represented in the table. Java does not have a simple/primitive type with high precision. It has a arbitrarily high precision type in the class library (which C# does not). All of this is represented in the table. [[User:Useerup|Useerup]] ([[User talk:Useerup|talk]]) 08:22, 13 September 2012 (UTC)
 
== Please PR this page ==
 
Please [[wikipedia:Peer Review|Peer Review]] this page. Thanks! [[Special:Contributions/68.173.113.106|68.173.113.106]] ([[User talk:68.173.113.106|talk]]) 01:13, 10 March 2012 (UTC)
 
== Dubious claim about both languages not supporting arithmetic on all types ==