 |
 |
What does NS mean?
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2003
Status:
Offline
|
|
I am just wondering. I see snippets of code all the time and am just wondering what does NS mean in it all.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Mar 2001
Location: canada
Status:
Offline
|
|
Originally posted by Truepop:
I am just wondering. I see snippets of code all the time and am just wondering what does NS mean in it all.
NeXTSTEP
Incidentally, nib stands for NeXT Interface Builder.
Source: p. 12 of Cocoa Programming for Mac OS X by Aaron Hillegass.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status:
Offline
|
|
You'd think it stands for NeXTSTEP, but... nope. The NS prefix didn't come into use until after the operating system and toolkit lost that name. (Most of the early stuff didn't have prefixes -- the original root class was Object -- and some of the stuff from later in the NeXTSTEP days used the prefix NX.) The 'NS' prefix was introduced along with OPENSTEP, which led some to think it stood for 'NeXT + Sun' (OPENSTEP was a joint effort between those two companies). But that too is just conjecture... I don't think the prefix has ever been formally explained anywhere. Even if you ask some of the folks at Apple who were around back then you'll get different answers...
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2000
Status:
Offline
|
|
Not Selling
No Source
Never Silly
(Not selling no source. Never, silly!)
I thought it funny at the time. Sad, I know. 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2003
Status:
Offline
|
|
Just one day I was looking at some stuff that was sent to me and asked myself if NS meant NeXTSTEP.
One for yes (two if you count me)
One for I don't know
and One another....
Anyone else?
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Well, you know...just because NS didn't used to mean "NeXTStep" doesn't mean it can't mean that now. Similar to how PHP originally meant "Personal Home Page" but was changed to the [cooler] acronym "PHP: Hypertext Preprocessor"...
*shrug*
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2001
Status:
Offline
|
|
I thought it meant NeXT Software or something. But I'm probably wrong.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by Wevah:
Similar to how PHP originally meant "Personal Home Page" but was changed to the [cooler] acronym "PHP: Hypertext Preprocessor"...
These cutesy acronyms are so stupid - a rip off of GNU (GNU's Not Unix) which was stupid to begin with. How 'bout "USA States of America"; "UK Kingdom"; "NBC Broadcasting Company" or, my favorite, "LASER Amplification by Stimulated Emission of Radiation?"
Pretty clever... 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by Wevah:
Well, you know...just because NS didn't used to mean "NeXTStep" doesn't mean it can't mean that now.
Well, the original question was asking why they used the prefix - I.E. what meaning did they apply to it. We can of course attribute any definition we deem appropriate but that is not interesting.
I vote for "NonSensical".
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Bolingbrook, IL, USA
Status:
Offline
|
|
It stands for No Sleep, to remind you all what the developers of the Cocoa frameworks had to go through to make them for you all.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
I vote for "No Sleep".
@_@
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: ~/
Status:
Offline
|
|
I like "Not Selling" or "No Sales" personally.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2001
Status:
Offline
|
|
Not snappy 
|
Stink different.
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
LASER is not a recursive acronym. It stands for Light Amplification by the Stimulated Emission of Radiation.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Dec 2001
Status:
Offline
|
|
Originally posted by chabig:
LASER is not a recursive acronym.
Um, none of those examples were actual recursive acronyms.
|
|
"Think Different. Like The Rest Of Us."
iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by chabig:
LASER is not a recursive acronym. It stands for Light Amplification by the Stimulated Emission of Radiation.
I was actually being sarcastic. I don't really believe that USA stands for "USA States of America". I was trying to be absurd and suggest new recursive acronyms.
|
|
|
| |
|
|
|
 |
|
 |
|
Banned
Join Date: Apr 2002
Location: -
Status:
Offline
|
|
I vote for netscape 
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally posted by Truepop:
I am just wondering. I see snippets of code all the time and am just wondering what does NS mean in it all.
Whatever it may actually stand for, it's a simple way of trying to reduce the possibility of multiple developers creating classes with the same name. So if everything in the standard set of Classes starts with "NS" other developers know that it's best to avoid creating objects that start with those two characters.
In fact, they could follow the same logic, and have their own semi-unique character sequence to avoid duplicate class names. Either their company initials, or their own name initials.
Hmmm... my initials are NS. Bugger!
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Nov 2002
Location: Seattle, WA
Status:
Offline
|
|
Originally posted by Brass:
Hmmm... my initials are NS. Bugger!
me too! it just means we have a special psychic NSConnection with cocoa...
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Nov 2007
Status:
Offline
|
|
NS stands for Name Space. It's not just an acronym used by Apple. It is used in other APIs too.
(Last edited by teeroy; Nov 20, 2007 at 11:28 PM.
(Reason:title missing))
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status:
Offline
|
|
Neat Stuff
No S***
North South
Nude Stripper
In all honesty, I always thought it stood for NeXTSTEP. I guess not: Wikipedia claims that it stands for NeXT-Sun, like Rickster said.
|
Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|