Wednesday, April 11, 2012
Day #3 of a #30 day startup
Lesson learnt today: take breaks. Long spells of trying to crack a problem are often counter-productive.
This is a lesson I am continually having to re-learn. Last night I was stuck on a minor problem, and spent hours trying to figure it out. As soon as I closed the pc and got ready for my supper drink, I was struck by the thought "why not try option X". First thing this morning I tried "option X" and cracked the problem first time. It won't always work like that, but more often than not a break can give that breath of inspiration you need to crack a poser.
Most of today was getting certain logic to work in the code - for some reason automatic date fields weren't being set, also I needed to view associated comments when viewing a thread. There's a long way to go yet, but I'm inching towards my destination.