On Jun 7, 2008, at 4:16 PM, Peter Duniho wrote:
As I pointed out in my other replies, implementing something like NSUndoManager is trivial in C#. It would only be slightly more so in Java, and only because of the above. There's really no need to rehash the discussion; just look at the previous one, and replace the C# idioms with their Java equivalents.

I have yet to see an implementation in either language that allows capture of arbitrary method invocations -- true proxying of method invocations -- where the set of methods that must be captured are not declared at compilation time on the mechanism used to capture them.

Note that this is not to say that C# or Java are inferior (for the record, I did many many years of Java and quite enjoyed it -- miss some of the features of the language when programming Objective-C, too). Far from it. The entire exercise is to comparatively illuminate the differences between the languages such that those new to Mac OS X gain insight into some of the patterns that Objective-C makes natural upon which much of Cocoa is architected.

b.bum





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to