Author Archives: G Wade Johnson

The Forgotten OO Principle

When talking about Object Oriented Programming, there are several principles that are normally associated with the paradigm: polymorphism, inheritance, encapsulation, etc. I feel that people tend to forget the first, most important principle of OOP: object lifetime. One of the first things that struck me when I was learning OOP in the C++ programming language… Read More »

XML Data Representation

I had an interesting thought during an email conversation with a friend yesterday. One problem many people have when using XML for data is a misunderstanding of what the XML is. (If you don’t believe in the data in XML approach, feel free to ignore me.<grin/>) It’s easy to make the mistake of treating the… Read More »

More Debugging Information

In my weblog entry from a couple of days ago More Thoughts About Debugging, I forgot to add the information that prompted me to write in the first place. I was looking around a few weeks ago and found a series of links providing various pieces of debugging and troubleshooting information.

Review of Book Darts

Although it’s not a book and not directly related to programming, I am going to review one of the best reading tools I’ve ever seen, Book Darts. If you read or deal with a lot of reference books, you need to look at these little wonders.

SVG and CSS

In most of the SVG I’ve seen people either prefer to use the style attribute or set the individual style attributes. I don’t see much use of CSS classes and I wonder why. Most of the criticisms I’ve seen of the use of CSS fall into four categories: It’s not XML. It’s too verbose 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?