• 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: Obj-C vs Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obj-C vs Java


  • Subject: Re: Obj-C vs Java
  • From: Chris Gehlker <email@hidden>
  • Date: Mon, 23 Jul 2001 07:28:45 -0700

On 7/22/01 4:48 AM, "John Hvrnkvist" <email@hidden> wrote:

> Java: too strict.
> Objective-C: too lenient.

John's detailed reply was very good but to me he seems to overstate the
difference between Java and ObjC a little bit here. Neither language is type
safe. Both pass objects of user/library/framework defined types and rely on
the programmer to keep track of the real type of the object. Both languages
use whatever type information the programmer provides in the same way. The
only differences are that Java requires types in some places where ObjC
accommodates them and Java issues errors in some places where ObjC issues
warnings.

If you are coming to ObjC from Java the differences may look pretty big but
if you are coming from C++ or some other language with real user defined
types, the differences look small.


References: 
 >Re: Obj-C vs Java (From: John Hörnkvist <email@hidden>)

  • Prev by Date: Interthread comms for progress bars
  • Next by Date: Re: A question about static typing
  • Previous by thread: Re: Obj-C vs Java
  • Next by thread: Re: Obj-C vs Java
  • Index(es):
    • Date
    • Thread