So, where's the Unix version of CodeProject?

Software development is hard. Lots of details that are hard to get your head around and harder to simplify. CodeProject is a wonderful resource for Windows programmers where programmers try and make the complicated more simple for others; I view it as giving something back. If I've spent several weeks fighting to understand a problem and now I do it's nice to write up and article and post it, either here, or on CodeProject, so that others don't have to fight so hard. Where's the similar resource for Unix?


My take on that. CP own and (I think).

I thought the same thing the other day. Moving to a group who have a cross platform requirement and not being old enough to have a toolkit on Unix.

I'm not convinced that it's just because "they love to code" and therefore don't write about it. After all, I love to code but I write about it as well, but then perhaps I'm just a freak.

I think, perhaps, it may be related to my little rant on the Unix version of Dll hell. Is it because there's so much diversity that if you try and write an article on X (no, not that X, just X) then whatever you write would need to be full of 'conditional code' to handle this platform and that version, etc.

Or is it all just still newsgroups?

I'm not sure, I guess in some small way comp.unix.programer does the same thing. But I think the main difference is that most of the "new tech" stuff is happening in the Open Source arena, so what's the point of a free code sample when you can look at an entire application (for instance when doing my first gnome-panel applet, I just looked for a couple of simple panel applets to find out how it was done -- and I know these work). I once heard there were only really a couple of network drivers in the linux kernel, the rest were just copy and paste of the kernel API bits with changes for HW. I presume you know about

Whereas the older tech like POSIX and Motif, almost everyone just knows already (or, in the case of Motif, doesn't want to :) and if they don't they get APUE/UNPv1/UNPv2 which comes with working code. There are also random web info. like Beej's guide or "advanced linux programing".

There are also specific sites for specific areas, so for instance you'll see a bunch of code samples on perlmonks about perl :).

The fact that there's Open Source and that people can just copy things that work makes a lot of sense. However, the code project articles are often more than just a blob of sample code. They tell you how and why the code is like it is. I find that part helps more than the code itself - I'm fussy, usually the code bits cant be incorporated into something I'm working on without quite a few changes to make them play nicely.

I expect the answer is that I just need to look harder ;)

Leave a comment