Let's look at a slightly larger example, just to show you how you can apply some of the programmingprinciples you already know and write a useful program in a short time.
I frequently apply the same principles to programming and architecture; you can learn from watching the repeated successful results of a strategy to solve a given problem.