logoalt Hacker News

meindnoch • yesterday at 3:23 PM • 0 replies • view on HN

NeXTSTEP.

Objective-C doesn't have namespaces (like C), so people use two-letter prefixes on their types to prevent name clashes. The NS prefix is used by Apple's Foundation and AppKit frameworks, that originated from NeXTSTEP, hence NS.