Content deleted Content added
Line 129:
:What do you understand by "method invocation ''model''"? Is it compile-time or run-time? If you say compile-time, I agree, the same syntax/grammar is used to call a delegate and to call a single method. If you say run-time, I disagree, because by then it will either iterate the delegate OR call the method, it won't decide which to do at run-time because that's already hard-coded. So, you MUST clear which do you mean, compile-time or run-time. I suggest renaming it to "method invocation syntax", assuming compile-time since in run-time it's nonsense to say it's simpler in Java.
::Did you read the link at the bottom of the discussion?
--In that case, delegates don't ''complicate'' the model, they ''expand'' the model. One can completely ignore delegates and still be a quite succesful coder in C#. I think it gives a false impression that C# is more difficult to learn than Java. While it will certainly take you longer to learn ''completely'' (since there are more language-level features in C#), base functionality in both languages is a nearly identical task.
Line 140:
--capn_midnight
I think the criticism is that determining which method is actually called at run-time more complicated, and can incur a performance hit. Check this out
== Switching Strings ==
|