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

Content deleted Content added
Useerup (talk | contribs)
Line 374:
::::::Good points. Dumbing down a programming language comparison to compare keywords would not just be uninteresting but also dishonest. You can certainly compare features without considering the BCLs. I still (like I have said several times over in the discussions above) would welcome a discussion on ''which'' parts of the BCLs to incorporate. Dragging in JDO, JPA, LINQ to Entities etc. is taking it too far IMO. Collection classes? yes. Please take part of the discussion on this topic, because we need to do this. Like I said, AWT is *not* part of Java (the language) just as WPF and WinForms are not part of C#. You can certainly do a comparison of AWT/Swing/WPF/WinForms - but not in this article. [[User:Useerup|Useerup]] ([[User talk:Useerup|talk]]) 16:29, 5 December 2010 (UTC)
::::::: I must disagree about AWT event handling. You can't do ANY event handling on GUI components in java without using AWT event handling (or it will be VERY hard), because it's hard wired into the language. You can get rid of the AWT components, but not events (and not graphics either). There are two parts of AWT, which people may find confusing: the "core" part, which interface with the native event handling, graphics, and windowing system. And the AWT components. Your WPF and WinForms comparison is valid only for the latter part. [[User:Hervegirod|Hervegirod]] ([[User talk:Hervegirod|talk]]) 17:55, 5 December 2010 (UTC)
:::Java does not have events as a first class feature, and not as a language feature. Period. If you consider java.util then yes, there is a conventional way to ''implement'' events. However, AWT has no place in this article. AWT is a framework built ''using'' the language, in no way can it be presented as part of the language or even the core library. Events are defined in java.util and if this article should allow "core" libraries then Java+core library can be said to feature events. [[User:Useerup|Useerup]] ([[User talk:Useerup|talk]]) 15:22, 6 December 2010 (UTC)