Community

DocumentBuilder: An Alternative to Hard-Coded String Concatenation

(Matt Nicholls) Whether it be SQL, HTML, XML, or even ASCII, odds are just about every application you’ve written has to generate a formatted String of some kind that represents the state of an object. Figure 1 shows a common (albeit bad) way to generate an INSERT SQL statement for a Customer object

Read More - Register for Free Membership