I left work an hour early today.
I'd been working hard on a new feature. It was all going well until I hit a wall. Progressed stopped. I hacked away for half an hour. I ruined my nice design and still failed to get things working. I reverted my changes and tried a different approach and still didn't get it to work.
So I left.
I reverted my changes again, got on my motorbike and went home. It was a nice ride. Dry roads, warm air, not too sunny. I forgot about my work as I filtered through the traffic. I pulled up to my house with a grin on my face.
And then it hit me. My program's design was wrong but only a little bit. One method in one interface needed one more parameter. I can quickly add an overloaded method to the interface tomorrow, provide a default implementation so nothing breaks, and deprecate the old method so I can gradually remove calls to it from the code.
Sometimes you just need to step away from the keyboard. I'd still be making a mess right now if I had stayed at work. Instead, I've solved the problem, written a blog post and feel a lot more content than I would otherwise.
I'd been working hard on a new feature. It was all going well until I hit a wall. Progressed stopped. I hacked away for half an hour. I ruined my nice design and still failed to get things working. I reverted my changes and tried a different approach and still didn't get it to work.
So I left.
I reverted my changes again, got on my motorbike and went home. It was a nice ride. Dry roads, warm air, not too sunny. I forgot about my work as I filtered through the traffic. I pulled up to my house with a grin on my face.
And then it hit me. My program's design was wrong but only a little bit. One method in one interface needed one more parameter. I can quickly add an overloaded method to the interface tomorrow, provide a default implementation so nothing breaks, and deprecate the old method so I can gradually remove calls to it from the code.
Sometimes you just need to step away from the keyboard. I'd still be making a mess right now if I had stayed at work. Instead, I've solved the problem, written a blog post and feel a lot more content than I would otherwise.
9 Comments On This Entry
Page 1 of 1

leibniz76
09 September 2014 - 09:33 PMcfoley, on 09 September 2014 - 03:02 AM, said:
I've just realised that this blog might not frame my work ethics in the best light. My hours are flexible and I start an hour early every day. I work best in the morning so this suits me. It also means if my brain is ever fried or I have something on in the evening I can leave a little early.
Yea, I was wondering about that because my brain gets fried all the time. So what do you do when you're working for the man and your brain is fried.

leibniz76
18 September 2014 - 01:17 PM
Big day in Scottland. What's it like over there? Maybe you could write a blog post about it. I see you put your country as GB so that probably means that you're against independence. I've heard that the vote has put neighbor against neighbor. Is that true?
Page 1 of 1
Trackbacks for this entry [ Trackback URL ]
← January 2021 →
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
My Blog Links
Recent Entries
Recent Comments
Search My Blog
0 user(s) viewing
0 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)