Archive for October, 2009

FIXME and TODO

Posted on Sunday, October 18th, 2009 at 3:11 am

Usually, when I write code, sometime I put comments with TODO and FIXME, the former one means that this fragment of code is just a temporarily one, kind of quick fix or patching the balloon. I know I need to do further, but the priority is low. The later one, I know it might has some possible bugs, but I believe it’s not crucial or rare to occur. So, just leave it there and take my chance.

How about life? how many TODO and FIXME we’ve placed along the way? I’ve plenty, I know. Question is, when should I fix those TODO and FIXME, well, it should not be another TODO… Otherwise, it’ll be infinite loop of TODO, which is very bad.

Try to resolve your TODO and FIXME as soon as possible, both in your code and in your life. Your life is shorter than you think and your code can break earlier than you think.

Feel like an xkcd comic, but it’s not, certainly not.

Posted on Thursday, October 15th, 2009 at 1:18 pm


FAIL, originally uploaded by pruet.

No code

Posted on Monday, October 12th, 2009 at 4:27 am

Haven’t written any program for sometime, I believe I’m more sensitive now. Why?, you may ask, I guess it’s because when I write code, I become more logical, deterministic and autonomous. In essential, without code, I lose my Von Neumann side and gain human side; humane, instinct-driven and lovable (ewww!). I consider these properties are too dangerous for me, so I should read more code then.

Programming bug is relatively easy to find and solve, relationship bug is unsolvable.