August 15, 2003

Emasculated

On Wednesday I had to modify some C code at work, to customize a piece of open source software. I hadn't realized how much I had forgotten about C. I even had to look up some really basic stuff.

I used to think my C was quite good when I was at university, I even did some Linux Kernel hacking (on a small scale), so it just goes to show how much you can forget in a few short years. I'm going to have to take up a project in straight C, I've been wanting to do some GUI programming in Linux, so I might roll these things up into one project.

Also, and to rub salt in the wound, Kuro5hin is featuring an article titled Certainly Not Logic, which includes a lot of sample bad C code. I admit a couple of these threw me off, because I had forgotten quite a few language specifics. For example, sizeof means different things in C and PHP, and since I frequently code in PHP I had forgotten this. Sucks.

Posted by Dave at August 15, 2003 02:34 PM
Comments