If only we could all strive towards code perfection

I’ve found two views out there about writing good excellent code, that I absolutely have to agree with.

One is on CodingHorror, by Jeff Atwood, saying that writing code is just like writing, ultimately your co-software developers have to understand what your meaning was, and if they cannot figure it out, you’re doing it wrong.

In Jeff’s post there is reference to this post by Ned Batchelder, which basically gives you THE rule about removing dead code, which I have to admit, I’ve been breaking a big percentage of the time.  From now on, in my quest for personal improvement, I will definitely be following both these guidelines.

What are your thoughts on writing good code?

The few who spoil it for the rest of us

Let me start with some background…

Last night at about half past 10 my doorbell rang.  When I answered the
intercom, there was a guy outside asking me to come outside as he'd
just had an accident at the end of the cul-de-sac where I stay.  He had
just come from the local pub, and did not have a clue where he was…

Now, normally I would jump to the opportunity to help a fellow human
being, but unfortunately in our country you never know when it is a
scam to get you outside as an easy target for more sinister things.

In my view I made the right decision to deny the request, giving the
person my phone number to pass on to his relatives for directions to
the location, in case the story was true.

This morning when leaving for work I drive down to the end of the
street to check out the story, and lo-and-behold, he was telling the
truth, the fence posts of the compex there were bent, and you could
clearly see where he went off the road.

Firstly, whoever you are, I have to apologise for not coming out to
help, but I think if the roles were reversed you would probably make
the same decision that I did.

Secondly, whoever you are, you should not be driving at high speed in
the rain and dark on roads you don't know, even when you're sober, but
especially not after you've visited the local pub, that is just
irresponsible, and you would not have been in the position you were in
if there was a inkling of responsiblity in you.

Back to the heading of this post. 

Why is our country in this position, where people have to think twice
before answering a call for help.  Where criminals have sunk so low as
to target people's natural will to help fellow human beings, to turn
them in to easy targets.  It's despicable behaviour, and our government
is still doing very little to curb crime…

People say I’m mad, but the voices in my head says I’m getting better

After an absence of over a week, I'm back and writing.  The reason for my absence?

I did a cycle tour from Joburg to Durban.  690km in 5 days.  And what fun the tour was.

Therewere 13 of us riding, with the last stage being the Amashova race fromMaritzburg to Durban.  On the Saturday night we decided with the tiredlegs, we'll ride the race as a group, so we all hung back and took overthe D bunch, and controlled it from the word go.   In the end, therewere 5 of us who pulled the whole group to a 3:03 finish, which is byno means a bad time for the race.

This was something that I'dbeen looking forward to for a long time, and will definitely do again. By far the longest tour I've done, but now I want to go bigger andbetter.  So I need some suggestions on start and end destinations for alonger tour, I'm thinking around 1000 – 1200 km 7-8 days.  Preferablyonroad, I don't have the budget at this point to buy a MTB good enoughto do a tour like that.