News for hackers. Stuff that matters.
Re:How I, a beginner developer, read the tutorial you, a dev... by astrange on Monday September 22, 2025 @08:23PM (#45341378)
The more useful answer is:

a) it needs namespaces

b) but giving people namespaces is unironically bad because it's what lead to "enterprise development" style APIs like C# where everything is named System.DataStructures.Collections.Arrays.Lists.ArrayList, as if giving something a longer name makes it more professional.

c) so instead two letters means a system framework and three letters means a user framework

Re:How I, a beginner developer, read the tutorial you, a dev... by billforsternz on Monday September 22, 2025 @08:36PM (#45341481)
I quite like a terse but consistent conventions myself. I remember finally being able to quiet the tedious part of my brain that couldn't get past the NS conundrum when I finally came up with the NextStep thing as a reasonable theory.

In other words, my only complaint is that this Apple convention is not more easily discoverable. Or perhaps that the expert author of the book I was reading (this was back in the day) didn't feel the need to share it with his readers.

Re:How I, a beginner developer, read the tutorial you, a dev... by 1718627440 on Thursday September 25, 2025 @05:55AM (#45370990)
Its a standard thing to do in C. You generally use a prefix of 2-4 characters from your project name.