February 27, 1999

Unconsting a const Variable

There are two types of const data storage: true const and contractual const. const int cn = 5; // true const A contractual const variable is a non-const one, which

Preload Your Images

If you use JavaScript rollover images on your Web pages, it’s a good idea to preload them in order to reduce lag time while the image downloads. Non-preloaded images won’t

Minimize Server Script in Active Server Pages

To improve performance in your Active Server Pages, try to minimize the amount of server script present. From a design point of view, putting extensive code and business rules in

Understanding the Listener Pattern

The Listener pattern is commonly used in the AWT since JDK 1.1. In fact, the Listener has been the base for the event handling mechanism for UI events in Java.