4 ms·
My first thought was that this will be a very incomplete list. I was right. Where is the delegate vs anonymous class comparison. What about the horrible tricks
by sukuriant 16y ago
My first thought was that this will be a very incomplete list. I was right. Where is the delegate vs anonymous class comparison. What about the horrible tricks you can do to emulate refs (pass an array with the reference in it, instead), and the less horrible thing you can do with out parameters (create a return class)? What about the differences in the implementation of proper event-driven design between the two languages? And the biggest difference I've experienced between the two, what about the general design and thought behind their different standard APIs?
All in all, I was very underwhelmed. This should have fleshed the real differences (to me the thought behind their APIs) out.
[edit: finally reading the small text underneath the title, I see this is a syntax comparison. A couple of my statements still make sense, but this really needs to have its title changed. I suppose people wouldn't read it if that were the case, though.]
- henrikschroder 16y agoWorse, it's a syntax comparison from Java to C#, i.e. a "how do I" for Java people writing C#, not the other way around. For example I saw it list the ?: operator, but where is the ?? operator that C# has and Java sorely lacks? Where's the using block? Delegates? LAMBDA EXPRESSIONS?!?