Wednesday, April 1, 2009

Style for Programmers and DBAs

I'm always interested in the best way to approach a problem.  More often than not, I just don't have the time to sort it all out so I try to keep my mind fresh by reading through other people's solutions.  In this case I'm interested in programming style. 

In the "real" world grammar is a an agreed upon style for the language that helps us understand other people's writing.  In application development style helps us better understand what other people's code does (or was it was supposed to do).

Programming style encompasses naming conventions, structure, naming standards and more. Adhering to style helps others better understand your work. Below are various sources of information I have found on the subject.  I hope this set of references is useful to you as well.

Capitalization Rules:

Database Naming Conventions:
Microsoft .NET Technologies

C# Coding Style:
Metadata Conventions
  • ISO/IEC 11179-1: Information technology — Metadata registries (MDR) — Part 1:Framework (2nd Edition, 2004-09-15)
  • ISO/IEC 11179-2: Information technology — Metadata registries (MDR) —Part 2: Classification (2nd Edition, 2005-11-15)
  • ISO/IEC 11179-3: Corrections to ISO/IEC 11179-3
  • ISO/IEC 11179-4: Information technology – Metadata registries (MDR) – Part 4: Formulation of data definitions (2nd Edition, 2004-07-15)
  • ISO/IEC 11179-5: Information technology – Metadata registries (MDR) – Part 5: Naming and identification principles (2nd Edition, 2003-02-15)
  • ISO/IEC 11179-6: Information technology – Metadata registries (MDR) – Part 6: Registration (2nd Edition, 2005-01-15)
Joel's Spolsky's Blog:
Other useful stuff

Books you can buy to help:

    No comments:

    Post a Comment