Category Archives: CodeCraft

“Good Enough” Revisited

In The Forgotten Engineering Principle, I went on at some length about the concept of Good Enough. I originally began thinking about this idea over a decade ago in the context of Stylus-Based Computers (what are now called Tablet PCs). I hadn’t thought about the concept for quite a long time. However, in doing a… Read More »

On Creative Class Names

The subject of naming in code continues. In O’Reilly Network: Ill-monikered Variables and Creative Class Naming [May. 18, 2004], Tim O’Brien adds his comments to the topic of naming in programs. He picks up with Andy Lester’s earlier comments and goes a little further. O’Brien makes the suggestion that creative names are much better than… Read More »

The Law of Unintended Consequences

One of the fundamental laws of the universe could be called the Law of Unintended Consequences. This law is as universal as Murphy’s Law, but not as well recognized. To me, the gut-level understanding of this law is one of the things that shows the difference between a really good programmer and someone who just… Read More »

On Names, again

Isn’t it interesting how some ideas will surface in different unrelated places at close to the same time. O’Reilly Network: On the importance of names [Feb. 15, 2004] talks about how important the right name is for the success of a project. I think it may be more important not only for recognition but to… Read More »

More on Magic Constants

I’ve been thinking more on the issue of Magic Constants. Have you ever noticed that when some people first understand the idea of symbolic constants, they want to collect all of the constants they’ve defined together in one spot?