Friday, January 15, 2010

Calling All Haiku Developer Wannabes

Have you ever wanted to learn to program for Haiku (or something else) but never had the money or the chance? Has something else gotten in the way? Even though I still don't have any real motivation to work on Paladin or write other code, right now I have plenty of motivation for writing about code.

I'm going to be publishing online programming lessons whenever I have some time. Usually this will be about one per week, but may happen more or less often on occasion, depending on how my spare time runs. These lessons will be available in PDF form under a Creative Commons license that will give me some options should I ever want to publish them in dead tree format.

Considering that I write fairly well and I've been teaching for more than 10 years now, this is quite an opportunity for someone who wants to learn to code. To kick things off, here's the first one. Learning to Program With Haiku, Lesson 1.


  1. Fantastic! As you know, I'm a beginning C++ dabbler myself. Maybe your lessons will help me becoming a better dabbler... :)

    One thing though: I really think you should post these PDF lessons on your blog at There, it will get much more exposure and feedback.

    Thanks for sharing knowledge!

  2. Beware that what you're teaching here is C, not C++. If you want to use Standard C library functions like printf in a C++ program, you include cstdio, not stdio.h and you use the scope operator to access them since they are in the std namespace like so: std::printf() and you compile with g++ instead of gcc.