• 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: Future Objective-C changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future Objective-C changes


  • Subject: Re: Future Objective-C changes
  • From: David Cittadini <email@hidden>
  • Date: Fri, 16 May 2003 23:38:28 +1000

Dynamic typing provides the freedom to do what you want when you want. Static typing says you can only do what the rules allow. Generic programming says you are almost free but the inherent rules mean you will never quite get there. Surely all approaches have their place.

David.

Message: 12
Date: Fri, 16 May 2003 00:57:05 -0600
Subject: Re: Future Objective-C changes
From: Jeff <email@hidden>
To: email@hidden

On Friday, May 16, 2003, at 12:20 AM, David Cittadini wrote:

Conversely, Objective-C also supports static typing so that would mean
that parameterized types are needed as well?

I don't believe so. Parameterized types / generics are needed in
languages which don't have dynamic typing, like C++, Ada, etc. If you
have an urge to use generics, then it seems there's already a solution
in Obj-C through dynamic typing. If you want to strongly type
something, then why use generics to begin with? Generics is a work
around for statically-typed languages, so not something a language
would want to add if it didn't have to. (Correct me if I'm mistaken.)

-Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Future Objective-C changes
  • Next by Date: OT: WWDC
  • Previous by thread: Re: Future Objective-C changes
  • Next by thread: Re: Future Objective-C changes
  • Index(es):
    • Date
    • Thread