• 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: Meaning of .m extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Meaning of .m extension


  • Subject: Re: OT: Meaning of .m extension
  • From: Prachi Gauriar <email@hidden>
  • Date: Sun, 23 Nov 2003 22:43:57 -0600

On Nov 23, 2003, at 6:13 PM, Ali Ozer wrote:

I remember this question being asked at Stump the Experts at WWDC a
few years back. The official answer from the Apple gurus was that
the .m stood for "messages".

The expert who answered the question was Steve Naroff, who wrote
the original front-end support for Objective-C for gcc. Someone came up
to challenge his response and and he pointed out that made the decision
to use .m as the suffix.

Ah, well, then messages it must be --- Steve would know, he was involved in the original Stepstone compiler work. (Although I would consider methods mostly equivalent! 8-)
Ali


After reading some of the (good) responses, I realized that Brad Cox has a website, and thus must have an email address. So I emailed him and asked him.

Due to his response (below) and Steve Naroff's qualifications, I guess it's safe to say that it's messages.

-Prachi

Begin forwarded message:

From: Brad Cox <email@hidden>
Date: November 23, 2003 7:05:47 PM CST
To: Prachi Gauriar <email@hidden>
Subject: Re: .m extension in Objective-C files

You came to the right place. But for the life of me, I can't remember for sure. Main requirement was something that wasn't already used. Possibly messages.

At 4:53 PM -0600 11/23/03, Prachi Gauriar wrote:
Hi. I'm teaching some friends Cocoa/Obj-C, and they were wondering what the .m extension stands for in Objective-C implementation files. Since I didn't know myself, I asked the Cocoa-Dev mailing list. They responded:
methods
messages
module

I figure you probably came up with the extension, so I thought it'd be prudent to simply ask you and find out definitively. Can you shed any light on this?

Thanks,
Prachi Gauriar
email@hidden


--
Brad J. Cox, PhD, 703 361 4751, http://virtualschool.edu
http://virtualschool.edu/mybank Digital Rights Management System
http://virtualschool.edu/jco Java Cryptographic Objects (JCO)
http://virtualschool.edu/jwaa Java Web Application Architecture (JWAA)
http://virtualschool.edu/java+ Java Preprocessor (Java+)
_______________________________________________
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.

References: 
 >Re: OT: Meaning of .m extension (From: Mark Lilback <email@hidden>)
 >Re: OT: Meaning of .m extension (From: Ali Ozer <email@hidden>)

  • Prev by Date: panel w/ progress bar
  • Next by Date: Re: Save a NSAppleScript to a file
  • Previous by thread: Re: OT: Meaning of .m extension
  • Next by thread: [ANN] ActiveWire OS X Driver v1.0
  • Index(es):
    • Date
    • Thread