Jan Heggernes

. . . systematic randomness . . .

C# Coding Conventions

I’ve actually had a few people who are just getting into “the business” of programming ask me for advice recently, and after looking through some code samples, I really think that people who are just starting are underestimating the level of importance we place on correct casing and naming.

 

Sure, the code might still work, but for others who have grown accustomed to the “right” way of defining things in the C# world, it just feels wrong, and there’s really no reason to not use accepted conventions from day #1.

 

I found one of my old links related to coding standards, it’s definitely worth a look for any C# developer. I was looking through it earlier before passing it on, and I have to admit to completely forgetting about the string compare issue listed in point 4.32! :)

 

http://weblogs.asp.net/lhunt/pages/CSharp-Coding-Standards-document.aspx

Loading