C# Coding Standard

Just recently ago … me and my colleaques had a little training with Agus Kurniawan (AK), one of Microsoft MVP, about Object Oriented Programming (OOP) in DotNET. It’s mostly about fundamental concept how to program and work in Object Oriented kinda way.

One of AKs topic was “Coding Standard in C#”. He said : “… every team has to have a standard, in this case coding standard …” — something like that ^-^.

I thought I had a good programming standard … I thought we had a good programming standard!!!. Then again … we’re not :(. I admit it … since I know how to write a code, actually, I know there’s a standard, but … even if I do, my coding standard kinda fuzzy hahaha :). I stick with one standard … and all of a sudden BANG!!! one step backward to neanderthal programming :).

Not very consistent of me he10x. But comes to think of it … we really do need a good standard, why??? … to make one same perspective that’s why!!.

Let’s imagine this … you have a crush on some nice girl who really adores a romantic kinda guy (which is me :)), you couldn’t possibly say that you love her with "Response.Write("I LOVE YOU")" would you? :).

Okay … back to coding standard. In C# coding standard there are lots of terminologies and definitions, two of them are Camel Case and Pascal Case.

Camel Case
A word with the first letter lowercase, and the first letter of each subsequent word-part capitalized.
Example : customerName

Pascal Case
A word with the first letter capitalized, and the first letter of each subsequent word-part capitalized.
Example : CustomerName

These two terminolgy are generaly used in C# programming, Microsoft too implements these two. Take a look at this example :

C# Coding Standard example

Thanks to AK, He really brightening things up. Hey AK have you received our new company Coding Standard Policy yet?!? :)

If you wanna know more about C# coding standard … click here

Posible related posts

History Log Is a Must!Interface “Lelaki Buaya Darat”

2 Comments »

  1. astaufik said,

    July 14, 2006 @ 11:14 am

    well, I do really agree with the Coding Standard thing. Although I’m not a coding standard kinda guy, but I’m working on it..he2x

  2. amri said,

    May 31, 2007 @ 9:44 pm

    try
    {
    learn coding c#
    }
    catch
    {
    try to understand
    }
    finally
    {
    i find C# programmer
    }

RSS feed for comments on this post · TrackBack URI

Leave a Comment