Monday 19 January 2009

10 years of Java makes one careless

One forgets what a pointer is. Well, not what it is, but what can be done with it. I, for one, just loaded a few kilobytes of audio data on top of some audio queue control structures... Kept me wondering for a while why the bloody queue spits some poisonous noises at me.

And all this memory management business... Apparently, someone has to think about whether an object is to be retained or released. C'mon, I've just assigned it to a private field, does that ring any bells? No? Well, then just retain it, would you?

No comments:

Post a Comment