Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2003 08:27:00 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Lucas Holt <luke@foolishgames.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie: The C / C++ Issue
Message-ID:  <20031112082700.GA19235@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <61F61906-14BC-11D8-913B-0030656DD690@foolishgames.com>
References:  <002c01c3a8c1$a4651bb0$6400a8c0@desktop> <61F61906-14BC-11D8-913B-0030656DD690@foolishgames.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 11, 2003 at 10:00:33PM -0500, Lucas Holt wrote:

>                       I'm also starting to learn objective C (the=20
> competitor to C++) so that I can utilize my Macintosh as a development=20
> platform.  The reason apple used objective C was because Mac OS X is=20
> really Nextstep which was written in like 1988 or so.

It was always said that if you knew C, you could learn Obj-C in a few
hours.  And in a legalistic sense, that is true: Obj-C is a superset
of C, and once you've got the method call syntax down:

    [anObject withAnArgument: foo andAnother: bar ];

and about 4 or 5 other things, you've got the whole language syntax
down.

All that remains then is to become familiar with the whole panoply of
the AppKit which will take you of the order of Months to do.  Plus
learning about effective OO design -- the whole semantic structure of
the language.  Obj-C is really nice in that regard: like chess, you
can learn the rules very quickly, and start playing effectively
immediately.  And because playing is easy, it frees you to learn the
subtleties.

Once you've mastered Obj-C and if you then start looking at Java,
you'll find things seem eerily familiar -- although the Java syntax is
superficially more like C++, Java was based pretty closely on the
semantics of Obj-C.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--T4sUOijqQbZv57TR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/se7UdtESqEQa7a0RAmJwAKCUaWnkt6JwgXDbxb4YiTnYUD7WrACff7IL
0tyLkkouoAvF79riKYN8f6g=
=g1rB
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031112082700.GA19235>