• 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: [OT] "Fluent Interface"? Welcome to NeXT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] "Fluent Interface"? Welcome to NeXT


  • Subject: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • From: "Clark Cox" <email@hidden>
  • Date: Fri, 3 Aug 2007 12:21:29 -0700

On 8/3/07, Charlton Wilbur <email@hidden> wrote:
>
> On Aug 3, 2007, at 1:00 PM, Clark Cox wrote:
>
> > I hate to nit-pick, but void wasn't in C until it was standardized in
> > 1989 (by ANSI) and 1990 (by ISO), Objective-C dates back to 1983.
> > Objective-C obviously predates the void type. In early Objective-C (as
> > in C) it was impossible to write a function or method that didn't
> > return a type.
>
> In fact, as near as I can find with a bit of googling, the void type
> was part of the original spec for C.

The void type was first added to a C compiler in System III C version
of PCC, which was in 1988.

> It and void pointers were
> certainly part of the dialect of C that Stroustrup used as a basis
> for early versions of C++ (back when it was "C with Classes"), and
> that work dates back to 1979 or so.

C++ did have a void type before C (that was one of the features, like
"const" that was implemented in C++ first, and then ported over to C).

> What you may be thinking of is void pointers as generic pointers,
> which is something that C89 standardized; prior to that, char
> pointers were often used as generic, and there wasn't any real
> consensus across platforms.


--
Clark S. Cox III
email@hidden
_______________________________________________

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

  • Follow-Ups:
    • [moderator again] Re: [OT] "Fluent Interface"? Welcome to NeXT
      • From: Scott Anguish <email@hidden>
    • Re: [OT] "Fluent Interface"? Welcome to NeXT
      • From: Charlton Wilbur <email@hidden>
References: 
 >RE: [OT] "Fluent Interface"? Welcome to NeXT (From: Jeff Laing <email@hidden>)
 >Re: [OT] "Fluent Interface"? Welcome to NeXT (From: "Clark Cox" <email@hidden>)
 >Re: [OT] "Fluent Interface"? Welcome to NeXT (From: Brian Willoughby <email@hidden>)
 >Re: [OT] "Fluent Interface"? Welcome to NeXT (From: "Clark Cox" <email@hidden>)
 >Re: [OT] "Fluent Interface"? Welcome to NeXT (From: Charlton Wilbur <email@hidden>)

  • Prev by Date: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Next by Date: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Previous by thread: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Next by thread: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Index(es):
    • Date
    • Thread