• 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: self = [super init], nil?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: self = [super init], nil?


  • Subject: Re: self = [super init], nil?
  • From: Henry McGilton <email@hidden>
  • Date: Sat, 8 May 2010 09:49:01 -0700

On May 8, 2010, at 7:45 AM, Joanna Carter wrote:

> Hi Ken
>
>> And while we're correcting things, there's no such thing as a "static method" in Objective-C.  There are class methods.  The use of "static" in this way is a C++-ism.
>
> Aaarrgghhhhh!!!
>
> My problem is that I used Delphi ever since v1, which call them class methods, but for the past five years, I have also been using C#, which call them static methods.

C# called them 'static methods' because Java called them 'static methods', and C# is a knockoff of Java.

I was actually working in the Java group some time before they threw it all over the wall, and I (along with
other Objective-C and NextStep-heads in the group) argued long and hard for the terminology 'class method'
and 'instance method', on the basis that calling a class method a 'static method' simply because it used the 'static'
keyword as means to indicate a class method was somehow wrong thinking.

The forces of darkness won, and that's how Java now has rebarbative terminology such as 'non-static method' to
mean 'instance method'.     Observe carefully, Grasshopper: if you do not see the word ''static' before a method, then
you know that it is a 'non-static method'.    Yuck.

I'm not trained in linguistics,  so I've been unable to formulate a query as to what philosophical issue is being bent
out of shape by confusing the function of something with the label attached to the function.    Any linguists/philosophers
on board here to address the issue?

    Cheers,
        . . . . . . . .    Henry

_______________________________________________

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:
    • Re: self = [super init], nil?
      • From: Joanna Carter <email@hidden>
References: 
 >Re: self = [super init], nil? (From: Flavio Donadio <email@hidden>)
 >Re: self = [super init], nil? (From: Joanna Carter <email@hidden>)
 >Re: self = [super init], nil? (From: Ken Thomases <email@hidden>)
 >Re: self = [super init], nil? (From: Joanna Carter <email@hidden>)

  • Prev by Date: NSImage and NSImageView questions
  • Next by Date: Re: self = [super init], nil?
  • Previous by thread: Re: self = [super init], nil?
  • Next by thread: Re: self = [super init], nil?
  • Index(es):
    • Date
    • Thread