Re: [OT] "Fluent Interface"? Welcome to NeXT
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