Chapter 2. Suggested Conventions

Programming is like playing golf: it can be tedious and can frustrate you to your wit's end, but it's that one good shot out of a hundred—the one that zips down the fairway, around the trees, and up on to the green two feet from the cup—that keeps you coming back for more.

H. W. Kenton

I must admit a certain amount of trepidation about recommending what coding and formatting conventions you should use. Formatting and stylistic concerns are so personal and vary so much from programmer to programmer that I'm really not comfortable telling you what conventions you should use. Instead, I'll tell you what conventions I use and why.

Before I get into this, let me say that I don't think that using a particular system ...

Get Guru's Guide to SQL Server™ Stored Procedures, XML, and HTML, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.