• 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
OT: Language Analysis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT: Language Analysis


  • Subject: OT: Language Analysis
  • From: "Ricky A. Sharp" <email@hidden>
  • Date: Wed, 06 Jun 2001 17:34:27 -0500

All,

I'm still learning Obj-C and must say that I really enjoy the language. I
have about 8 years now of C++ experience and a couple years in Java. I'm
wondering if anyone knows of (or has done) a very simplistic analysis
between the features of these languages.

e.g. when writing a new app in C++, I'll know when to apply say
mixin-classes (i.e. multi-interitence), when to use this, when to use that,
etc.

When learning about protocols, it strikes me that a formal protocol is like
a mixin class in C++ that only contains pure virtual methods (i.e. classes
that mix in your class or "adopts the protocol" must implement those
methods). Whereas an informal protocol is like a mixin with just virtual
methods.

I'm not looking for a super-detailed analysis like sizes of int, scope
rules, etc...I'm after more of a high-level feature analysis. My goal is to
be able to look at a Cocoa example and truly understand why it was organized
in the way it is. I thought it may be helpful to map some of the Obj-C
concepts back to similar (when possible) concepts of C++/Java.

TIA,


------------------------------------------------------------
Ricky A. Sharp Instant Interactive(tm)
Founder & President

email@hidden
http://www.instantinteractive.com
------------------------------------------------------------


  • Prev by Date: Re: Cocoa Drawers Example
  • Next by Date: Re: NSToolbar
  • Previous by thread: Re: Cocoa Drawers Example
  • Next by thread: pthreads and NSThreads (Was: Re: Threads in Apps)
  • Index(es):
    • Date
    • Thread