• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Java and Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java and Objective-C


  • Subject: Re: Java and Objective-C
  • From: Bill Bumgarner <email@hidden>
  • Date: Sat, 07 Jun 2008 17:16:13 -0700

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Java and Objective-C
      • From: Denis Bohm <email@hidden>
References: 
 >Re: Java and Objective-C (From: Peter Duniho <email@hidden>)

  • Prev by Date: Re: Garbage collector vs variable lifetime
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Re: Java and Objective-C
  • Next by thread: Re: Java and Objective-C
  • Index(es):
    • Date
    • Thread