I'm aware of a number of coding standards and guidelines for C# 2 and C# 3 but am looking for some which have been written with C# 4 in mind.
views:
288answers:
3
A:
I have found recently this article about code contracts in C# 4.0 which is part of C# in Depth, Second Edition book.
Tomi
2010-04-26 08:27:21
@Tomi: I suspect tjrobinson is after something broaded, covering "when to use optional parameters" etc. While I do give *some* guidance in C# in Depth, it's not quite the same. Still, if he finds it handy, then great :)
Jon Skeet
2010-04-26 08:31:38
@Jon Skeet: Well, in "What's inside" of your book is said "Guidance and practical experience" and "Not just the What and How, but the Why" so I think it covers this question pretty good :)
Tomi
2010-04-26 08:45:01
@Tomi: I definitely give guidance - but if I were looking for *just* a coding standards document, I wouldn't want to have to wade through a whole book :)
Jon Skeet
2010-04-26 08:47:24
@Jon Skeet is right, I'm after something a few pages long, which we can tweak for our needs, and developers here can all use as a quick reference for coding standards. I'm not after the level of detail you get in a book like C# in Depth (which I own and recommend).
tjrobinson
2010-04-26 10:38:19
+2
A:
I'm in the process of publishing new coding guidelines for C# 4.0 here.
Dennis Doomen
2010-06-01 17:48:57