ToddHa's WebLog

Musings, notions, thoughts about technology and software.

April, 2007

Posts
  • ToddHa's WebLog

    Assumptions are the mother of all (part 2).

    • 3 Comments
    In my own time, I've been learning Objective-C for fun. I'm not sure why, perhaps I didn't feel I spent enough time in front of a computer. But I digress. One of the interesting things I've learned is that the following code works. Note that I assume...
  • ToddHa's WebLog

    There are no stupid questions, only stupid mistakes.

    • 1 Comments
    Stupid mistakes are often the most painful. Take the following sample code. public class Sample { private int [] array = new int[32]; private int x = 0; public int Foo() { return array[x]; } public int X { get { return this.x; } set { #if DEBUG if (value...
Page 1 of 1 (2 items)