News for hackers. Stuff that matters.
Re:AOLserver is America Online's Open-Source web server by Paul-Craft on Friday April 21, 2023 @01:59AM (#35650216)
> That’s why all of its API identifiers have the prefix `Ns_` (or `NS_` or `ns`, depending on the kind of identifier). Kind of like how (coincidentally) Apple’s Foundation and AppKit frameworks use the prefix `NS`, because those came from Nextstep.

I've always hated when APIs and types are prefixed like this. It doesn't play very well with autocompete.

Re:AOLserver is America Online's Open-Source web server by Macha on Friday April 21, 2023 @05:58AM (#35651679)
It largely came about at a time where autocomplete was not a widespread concern but C's lack of namespaces was.
Re:AOLserver is America Online's Open-Source web server by Paul-Craft on Friday April 21, 2023 @06:19AM (#35651806)
Tell that to the company I worked for 5 years ago. People are still doing it for some reason.
Re:AOLserver is America Online's Open-Source web server by viraptor on Friday April 21, 2023 @08:22AM (#35652651)
It makes sense in C, doesn't it? You want your or some library's string abstraction available separately and not a bunch of errors because you both defined a different `struct string`.
Re:AOLserver is America Online's Open-Source web server by Paul-Craft on Friday April 21, 2023 @11:01AM (#35654821)
We didn't use C.