Re: Java and Objective-C
Re: Java and Objective-C
- Subject: Re: Java and Objective-C
- From: Denis Bohm <email@hidden>
- Date: Sat, 7 Jun 2008 23:17:42 -0700
On Jun 7, 2008, at 5:16 PM, Bill Bumgarner wrote:
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.
As a person new to new Objective-C, this discussion has been quite
helpful in pointing me to a couple of language topics that I think
will get me up the learning curve faster. While learning the syntax
is very easy, learning the subtleties of the language features can
take longer...
Denis
_______________________________________________
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