April 7, 2004

Java in Play

‘ve been trying to come up with any reason to criticize the participants in last Friday’s big news that made uncommon bedfellows out of archrivals Microsoft and Sun Microsystems. But I haven’t really come up with anything that sticks. Sun made a deal that’s good for Sun. Microsoft made a

Short Expressions

C++ has an alternative for the if condition using the sign “?”. The syntax for this condition is : “condition”?”case true”:”case false”. For example, a function to return the maximum of two numbers looks like this: inline int max(int a, int b) {return a>b?a:b;} Another short expression allowed by C++

Save a Round Trip to the Database

Save a round trip to the database when a keyed item is selected from any list type. This example uses a combobox, but any type of list control that accomodates databinding can work. Public Sub LoadComboBox() ‘A custom object – use your own db access method to get a table

SlickEdit Studio: An IDE in the Rough

arket trends are a dominant factor in the evolution of IDEs. 15 years ago, syntax highlighting and extensive online help were all the rage; in the late 1990s, it was variables’ value examination by a mouse movement and auto-completion of member functions and arguments. Nowadays, multilingualism seems to be the

Design Resilient Business Objects with MS DAAB

ike most DevX readers, anticipating change is an important part of my job. As a software developer and system architect, it is particularly important that I make sure our middle-tier objects can survive changes in the database-access layer. Although no software design can offer limitless flexibility, the design concepts of