Skip to Main Content
Becoming a Better Programmer
book

Becoming a Better Programmer

by Pete Goodliffe
October 2014
Intermediate to advanced content levelIntermediate to advanced
362 pages
7h 49m
English
O'Reilly Media, Inc.
Content preview from Becoming a Better Programmer

Chapter 35. It’s the Thought That Accounts

Thinking well is wise; planning well, wiser; doing well, wisest and best of all.

Persian Proverb

I run. Every week. It’s my waistline, you see. Perhaps it’s guilt, but I feel I need to do something to keep it under control. 

Now, let’s be clear: I’m no masochist. Exercise is not my favourite thing in the world. Far from it. It ranks marginally above hot pokers being stuck in my eyes. There are plenty of things I’d rather do with my evenings. Many of them involve sitting down, preferably with a glass of wine. 

But I know that I should run. It’s good for me.

Is that fact alone enough to ensure I go regularly, every week, for the full distance? With no slacking or slowing of the pace?

It is not. 

I dislike exercise and would gladly employ the weakest of excuses to get out of a run. “Oh no, my running shorts have a loose thread.” “Oh no, I have a runny nose.” “Oh no, I’m a bit tired.” “Oh no, my leg has fallen off.”

(Ok, some excuses are better than others.)

What unseen force coaxes me to continue running regularly when guilt alone can’t drag me out the door? What magical power leads me on where willpower fails?

Accountability. 

I run with a friend. That person knows when I’m slacking, and encourages me out of the house even when I don’t fancy it. That person turns up at the door, as arranged, before my lethargy sets in. I perform the same service back. I’ve lost count of the times that I wouldn’t have run, or would have given up halfway ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

How Functional Programming Can Improve Testing, Reuse, and Maintenance in Your Current Codebase

How Functional Programming Can Improve Testing, Reuse, and Maintenance in Your Current Codebase

Eric Normand

Publisher Resources

ISBN: 9781491905562Errata Page