Archive for: July 2010

July 31, 2010

Rewriting Code

Filed under: Technology — Les Bain @ 9:19 am

In frustration, many programmers are fond of saying “there is never enough time to do it right, but there is time to do it over”.  When prototyping became the fashion, the saying was turned around to “if there is time enough to do it over, there is time to do it right”.

I needed to rewrite some code that I wrote several years ago this week.  I was surprised at how much I could improve the code as I rewrote it.

  • I changed common code into functions.
  • I applied some new techniques and routines
  • I consolidated several programs with similar functions into one program with parameters

The system now does much more than it did before, and the code is much more elegant.

July 22, 2010

Do you use Dreamweaver?

Filed under: Website — Les Bain @ 4:53 pm

I was talking to a potential client today about building a website.  They asked if I used Dreamweaver.  Interesting question.

I replied with the standard answer that it does not make any difference what brand of hammer a carpenter uses, and it should not make any difference what tool is used to build a website.

But it is a little more complicated than that.  If templates or other techniques are used, it can be hard to maintain  using another product.

July 13, 2010

I feel great today

Filed under: Personal — Les Bain @ 11:43 am

I feel damn good today.  It is a wonderful day.  No good reason, just a good night’s sleep and a deep meditation to start the day.